Class SNMPInetAddressAcl

  • All Implemented Interfaces:
    com.sun.management.snmp.InetAddressAcl

    public final class SNMPInetAddressAcl
    extends Object
    implements com.sun.management.snmp.InetAddressAcl
    This class allows to manage the IP-ACL based access rights for SNMP v1/v2c.
    • Method Detail

      • getName

        public String getName()
        Gets the name of the acl.
        Specified by:
        getName in interface com.sun.management.snmp.InetAddressAcl
        Returns:
        the name of the acl as a String
      • checkReadPermission

        public boolean checkReadPermission​(InetAddress address)
        Specified by:
        checkReadPermission in interface com.sun.management.snmp.InetAddressAcl
      • checkReadPermission

        public boolean checkReadPermission​(InetAddress address,
                                           String community)
        Specified by:
        checkReadPermission in interface com.sun.management.snmp.InetAddressAcl
      • checkCommunity

        public boolean checkCommunity​(String community)
        Specified by:
        checkCommunity in interface com.sun.management.snmp.InetAddressAcl
      • checkWritePermission

        public boolean checkWritePermission​(InetAddress address)
        Specified by:
        checkWritePermission in interface com.sun.management.snmp.InetAddressAcl
      • checkWritePermission

        public boolean checkWritePermission​(InetAddress address,
                                            String community)
        Specified by:
        checkWritePermission in interface com.sun.management.snmp.InetAddressAcl
      • getTrapDestinations

        public Enumeration<InetAddress> getTrapDestinations()
        Specified by:
        getTrapDestinations in interface com.sun.management.snmp.InetAddressAcl
      • getTrapCommunities

        public Enumeration<String> getTrapCommunities​(InetAddress address)
        Specified by:
        getTrapCommunities in interface com.sun.management.snmp.InetAddressAcl
      • getInformDestinations

        public Enumeration<String> getInformDestinations()
        Specified by:
        getInformDestinations in interface com.sun.management.snmp.InetAddressAcl
      • getInformCommunities

        public Enumeration<String> getInformCommunities​(InetAddress address)
        Specified by:
        getInformCommunities in interface com.sun.management.snmp.InetAddressAcl