com.outbackinc.services.protocol.snmp
Interface SnmpSecurityManager


public interface SnmpSecurityManager

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.

See Also:
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

registerSecurityModel

public boolean registerSecurityModel(SnmpSecurityModel cSnmpSecurityModel)
Registers a Security Model. The model's name and ID must be unique among those already registered, otherwise the model will not be registered.
Parameters:
cSnmpSecurityModel - security model to register
Returns:
true if the model was registered, false otherwise (if either the name or ID of the model are not unique.)

unregisterSecurityModel

public boolean unregisterSecurityModel(SnmpSecurityModel cSnmpSecurityModel)
Unregisters a security model.
Parameters:
cSnmpSecurityModel - security model to unregister
Returns:
true if the model was successfully unregistered, false otherwise.

unregisterSecurityModel

public boolean unregisterSecurityModel(int iModelID)
Unregisters a security model by ID.
Parameters:
iModelID - model ID to unregister
Returns:
true if the model was successfully unregistered, false otherwise.


Home  Services  Products  Purchase  Contact Us  About Us  Legal  Ceramics
Copyright © 2003-2008 jSNMP Enterprises All rights reserved.