|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The SnmpSecurityManager interface defines methods for registering and unregistering Security Models with jSNMP. When the jSNMP service is started (with the first call to SnmpLocalInterfaces.getService()), both the CSM and USM Security Models are registered with the security manager, so there is no need to register them. Any new Security Models, however, must be registered with the service in order to be used.
Each security model must have a unique Security Model ID. If not unique, the registration will fail.
SnmpSecurityModel
Method Summary | |
boolean |
registerSecurityModel(SnmpSecurityModel cSnmpSecurityModel)
Registers a Security Model. |
boolean |
unregisterSecurityModel(int iModelID)
Unregisters a security model by ID. |
boolean |
unregisterSecurityModel(SnmpSecurityModel cSnmpSecurityModel)
Unregisters a security model. |
Method Detail |
public boolean registerSecurityModel(SnmpSecurityModel cSnmpSecurityModel)
cSnmpSecurityModel
- security model to registerpublic boolean unregisterSecurityModel(SnmpSecurityModel cSnmpSecurityModel)
cSnmpSecurityModel
- security model to unregisterpublic boolean unregisterSecurityModel(int iModelID)
iModelID
- model ID to unregister
|
|||||||||
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.