|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SnmpUsm
This interface is implemented by User based Security Models. You have to implement this interface when developing your own Usm.
Field Summary | |
---|---|
static int |
ID
The User based Security Model Id as defined in RFC 2574. |
static int |
MAX_NB_BOOTS
The User based Security Model max nb boots as defined in RFC 2574. |
static int |
TIME_WINDOW
The User based Security Model time window as defined in RFC 2574. |
static String |
usmNoAuthProtocol
The User based Security Model usmNoAuthProtocol OID "1.3.6.1.6.3.10.1.1.1". |
static String |
usmNoPrivProtocol
The User based Security Model usmNoPrivProtocol OID "1.3.6.1.6.3.10.1.2.1". |
static String |
usmStatsDecryptionErrors
The decryption error report OID "1.3.6.1.6.3.15.1.1.6.0" |
static String |
usmStatsNotInTimeWindows
The not in time report OID "1.3.6.1.6.3.15.1.1.2.0" |
static String |
usmStatsUnknownEngineIds
The unknown engine Id report OID "1.3.6.1.6.3.15.1.1.4.0" |
static String |
usmStatsUnknownUserNames
The unknown user name report OID "1.3.6.1.6.3.15.1.1.3.0" |
static String |
usmStatsUnsupportedSecLevels
The unsupported security level report OID "1.3.6.1.6.3.15.1.1.1.0" |
static String |
usmStatsWrongDigests
The wrong digest report OID "1.3.6.1.6.3.15.1.1.5.0" |
Method Summary | |
---|---|
SnmpUsmSecurityParameters |
createUsmSecurityParameters()
Instantiates an SnmpUsmSecurityParameters . |
Long |
getDecryptionErrorsCounter()
Gets the Usm error counter. |
SnmpUsmEnginePeer |
getEnginePeer(SnmpEngineId id)
Gets the peer associated with the passed engine Id. |
SnmpUsmLcd |
getLcd()
Gets the associated Usm local configuration datastore. |
Long |
getNotInTimeWindowsCounter()
Gets the Usm error counter. |
int |
getTimelinessWindow()
Get the time window used for timeliness checks. |
Long |
getUnknownEngineIdsCounter()
Gets the Usm error counter. |
Long |
getUnknownUserNamesCounter()
Gets the Usm error counter. |
Long |
getUnsupportedSecLevelsCounter()
Gets the Usm error counter. |
Long |
getWrongDigestsCounter()
Gets the Usm error counter. |
void |
setLcd(SnmpUsmLcd lcd)
Sets the local configuration datastore. |
void |
setTimelinessWindow(int t)
Set the time window used for timeliness checks. |
Methods inherited from interface com.sun.management.internal.snmp.SnmpSecurityModel |
---|
createSecurityCache, generateRequestMsg, generateResponseMsg, processIncomingRequest, processIncomingResponse, releaseSecurityCache |
Methods inherited from interface com.sun.management.internal.snmp.SnmpModel |
---|
getName, getSubSystem |
Field Detail |
---|
static final int ID
static final int MAX_NB_BOOTS
static final int TIME_WINDOW
static final String usmNoAuthProtocol
usmNoAuthProtocol
OID "1.3.6.1.6.3.10.1.1.1".
static final String usmNoPrivProtocol
usmNoPrivProtocol
OID "1.3.6.1.6.3.10.1.2.1".
static final String usmStatsNotInTimeWindows
static final String usmStatsUnknownEngineIds
static final String usmStatsUnknownUserNames
static final String usmStatsUnsupportedSecLevels
static final String usmStatsWrongDigests
static final String usmStatsDecryptionErrors
Method Detail |
---|
int getTimelinessWindow()
SnmpUsm.TIMEWINDOW
is the default used.
void setTimelinessWindow(int t)
SnmpUsm.TIMEWINDOW
is the default used.
t
- The time window in seconds.SnmpUsmLcd getLcd()
void setLcd(SnmpUsmLcd lcd)
lcd
- The Usm local configuration datastore.Long getUnsupportedSecLevelsCounter()
Long getNotInTimeWindowsCounter()
Long getUnknownUserNamesCounter()
Long getUnknownEngineIdsCounter()
Long getWrongDigestsCounter()
Long getDecryptionErrorsCounter()
SnmpUsmEnginePeer getEnginePeer(SnmpEngineId id)
id
- The SNMP engine Id.
SnmpUsmSecurityParameters createUsmSecurityParameters()
SnmpUsmSecurityParameters
.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |