Class 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 Detail

      • getName

        public String getName()
        Specified by:
        getName in interface com.sun.management.snmp.UserAcl
      • checkReadPermission

        public boolean checkReadPermission​(String user)
        Specified by:
        checkReadPermission in interface com.sun.management.snmp.UserAcl
      • checkReadPermission

        public boolean checkReadPermission​(String user,
                                           String contextName,
                                           int securityLevel)
        Specified by:
        checkReadPermission in interface com.sun.management.snmp.UserAcl
      • checkContextName

        public boolean checkContextName​(String contextName)
        Specified by:
        checkContextName in interface com.sun.management.snmp.UserAcl
        Returns:
        true if the context is correct, false otherwise.
      • checkWritePermission

        public boolean checkWritePermission​(String user)
        Specified by:
        checkWritePermission in interface com.sun.management.snmp.UserAcl
        Parameters:
        user - to check the write permission.
        Returns:
        true if the user has the write permission, false otherwise.
      • checkWritePermission

        public boolean checkWritePermission​(String user,
                                            String contextName,
                                            int securityLevel)
        Specified by:
        checkWritePermission in interface com.sun.management.snmp.UserAcl