Methods Summary |
---|
public void | activateEncryption()Activate SNMP V3 encryption. By default the encryption is not activated. Be sure that the security provider classes needed for DES are in your classpath (eg:JCE classes)
this.encrypt = true;
|
public void | deactivateEncryption()Deactivate SNMP V3 encryption. By default the encryption is not activated. Be sure that the security provider classes needed for DES are in your classpath (eg:JCE classes)
this.encrypt = false;
|
public SnmpEngineId | getEngineId()Get the engine Id.
return engineId;
|
public java.lang.String | getSecurityFile()Gets the file to use for SNMP Runtime Lcd.
return securityFile;
|
public UserAcl | getUserAcl()Gets the customized user ACL.
return uacl;
|
public boolean | isEncryptionEnabled()Check if encryption is activated. By default the encryption is not activated.
return encrypt;
|
public void | setEngineId(SnmpEngineId engineId)Set the engine Id.
this.engineId = engineId;
|
public void | setSecurityFile(java.lang.String securityFile)Sets the file to use for SNMP Runtime Lcd. If no file is provided, the default location will be checked.
this.securityFile = securityFile;
|
public void | setUserAcl(UserAcl uacl)Sets a customized user ACL. User Acl is used in order to check
access for SNMP V3 requests. If no ACL is provided,
com.sun.jmx.snmp.usm.UserAcl.UserAcl is instantiated.
this.uacl = uacl;
|