|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the IP address based ACL used by some of the Java DMK adaptors.
A default implementation where the information is stored on a flat file is provided by Jawacl
Method Summary | |
boolean |
checkCommunity(java.lang.String community)
Checks whether or not a community string is defined. |
boolean |
checkReadPermission(java.net.InetAddress address)
Checks whether or not the specified host has READ access. |
boolean |
checkReadPermission(java.net.InetAddress address,
java.lang.String community)
Checks whether or not the specified host and community have READ access. |
boolean |
checkWritePermission(java.net.InetAddress address)
Checks whether or not the specified host has WRITE access. |
boolean |
checkWritePermission(java.net.InetAddress address,
java.lang.String community)
Checks whether or not the specified host and community have WRITE access. |
java.lang.String |
getName()
Returns the name of the ACL. |
java.util.Enumeration |
getTrapCommunities(java.net.InetAddress i)
Returns an enumeration of trap communities for a given host. |
java.util.Enumeration |
getTrapDestinations()
Returns an enumeration of trap destinations. |
Method Detail |
public java.lang.String getName()
public boolean checkReadPermission(java.net.InetAddress address)
address
- the host address to check.public boolean checkReadPermission(java.net.InetAddress address, java.lang.String community)
address
- the host address to check.community
- the community associated with the host.public boolean checkCommunity(java.lang.String community)
community
- the community to check.public boolean checkWritePermission(java.net.InetAddress address)
address
- the host address to check.public boolean checkWritePermission(java.net.InetAddress address, java.lang.String community)
address
- the host address to check.community
- the community associated with the host.public java.util.Enumeration getTrapDestinations()
public java.util.Enumeration getTrapCommunities(java.net.InetAddress i)
i
- the address of the host.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |