Package org.opends.server.snmp
Class SNMPUserAcl
- java.lang.Object
-
- org.opends.server.snmp.SNMPUserAcl
-
- All Implemented Interfaces:
com.sun.management.snmp.UserAcl
public final class SNMPUserAcl extends Object implements com.sun.management.snmp.UserAcl
The SNMP User ACL.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkContextName(String contextName)
boolean
checkReadPermission(String user)
boolean
checkReadPermission(String user, String contextName, int securityLevel)
boolean
checkWritePermission(String user)
boolean
checkWritePermission(String user, String contextName, int securityLevel)
String
getName()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfacecom.sun.management.snmp.UserAcl
-
checkReadPermission
public boolean checkReadPermission(String user)
- Specified by:
checkReadPermission
in interfacecom.sun.management.snmp.UserAcl
-
checkReadPermission
public boolean checkReadPermission(String user, String contextName, int securityLevel)
- Specified by:
checkReadPermission
in interfacecom.sun.management.snmp.UserAcl
-
checkContextName
public boolean checkContextName(String contextName)
- Specified by:
checkContextName
in interfacecom.sun.management.snmp.UserAcl
- Returns:
- true if the context is correct, false otherwise.
-
checkWritePermission
public boolean checkWritePermission(String user)
- Specified by:
checkWritePermission
in interfacecom.sun.management.snmp.UserAcl
- Parameters:
user
- to check the write permission.- Returns:
- true if the user has the write permission, false otherwise.
-
-