|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The SnmpSecurityInfo interface provides a means to store and pass local (user) security information used for sending/receiving messages to/from SNMP agents. A SnmpSecurityInfo object may be shared by multiple sessions, and does not contains any session-specific information. The information required by this interface includes:
An implementation of this interface may require more information than just the security model name/ID and the security level. For instance, a USM implementation of this interface might need to have getAutheniticationPassword and getPrivacyPassword methods. Because there is a 1-to-1 relationship between SecurityInfo and SecurityModel implementations, the USM security model must know of these other methods (and use them by casting the SecurityInfo object to the appropriate class).
Method Summary | |
byte |
getSecurityLevel()
Get the security level. |
int |
getSecurityModelID()
Get the ID of the security model. |
boolean |
supportedBySnmpVersion(int iSnmpVersion)
Determines if the given SNMP version supports this security info. |
Method Detail |
public int getSecurityModelID()
public byte getSecurityLevel()
SnmpSecurityLevels
public boolean supportedBySnmpVersion(int iSnmpVersion)
iSnmpVersion
- SNMP version
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Home Services Products Purchase Contact Us About Us Legal Ceramics
Copyright © 2003-2008 jSNMP Enterprises All rights reserved.