public class SNMPInetAddressAcl extends Object implements com.sun.management.snmp.InetAddressAcl
Constructor and Description |
---|
SNMPInetAddressAcl(org.forgerock.opendj.server.config.server.SnmpConnectionHandlerCfg configuration)
Creates an IP-Based ACL controller.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkCommunity(String community) |
boolean |
checkReadPermission(InetAddress address) |
boolean |
checkReadPermission(InetAddress address,
String community) |
boolean |
checkWritePermission(InetAddress address) |
boolean |
checkWritePermission(InetAddress address,
String community) |
Enumeration<String> |
getInformCommunities(InetAddress address) |
Enumeration<String> |
getInformDestinations() |
String |
getName()
Gets the name of the acl.
|
Enumeration<String> |
getTrapCommunities(InetAddress address) |
Enumeration<InetAddress> |
getTrapDestinations() |
public SNMPInetAddressAcl(org.forgerock.opendj.server.config.server.SnmpConnectionHandlerCfg configuration)
configuration
- of the Configurationpublic String getName()
getName
in interface com.sun.management.snmp.InetAddressAcl
public boolean checkReadPermission(InetAddress address)
checkReadPermission
in interface com.sun.management.snmp.InetAddressAcl
public boolean checkReadPermission(InetAddress address, String community)
checkReadPermission
in interface com.sun.management.snmp.InetAddressAcl
public boolean checkCommunity(String community)
checkCommunity
in interface com.sun.management.snmp.InetAddressAcl
public boolean checkWritePermission(InetAddress address)
checkWritePermission
in interface com.sun.management.snmp.InetAddressAcl
public boolean checkWritePermission(InetAddress address, String community)
checkWritePermission
in interface com.sun.management.snmp.InetAddressAcl
public Enumeration<InetAddress> getTrapDestinations()
getTrapDestinations
in interface com.sun.management.snmp.InetAddressAcl
public Enumeration<String> getTrapCommunities(InetAddress address)
getTrapCommunities
in interface com.sun.management.snmp.InetAddressAcl
public Enumeration<String> getInformDestinations()
getInformDestinations
in interface com.sun.management.snmp.InetAddressAcl
public Enumeration<String> getInformCommunities(InetAddress address)
getInformCommunities
in interface com.sun.management.snmp.InetAddressAcl
Copyright © 2010–2017 ForgeRock AS. All rights reserved.