com.adventnet.snmp.snmp2.agent
Interface AccessPolicy

All Known Implementing Classes:
DefaultAccessPolicy

Deprecated. This class is deprecated as the AccessControlSnmpAgent class which uses this class is also deprecated.

public interface AccessPolicy

This Interface is implemented by API users who wants to specify their own Access Policies (authentication procedures).

Since:
AdventNet Agent Toolkit (Java Edition) 4.2 release.

Method Summary
 boolean authenticate(SnmpPDU pdu)
          Deprecated. Authentication method.
 boolean isReadPolicy()
          Deprecated. Getter for the read policy.
 

Method Detail

authenticate

boolean authenticate(SnmpPDU pdu)
Deprecated. 
Authentication method.

Parameters:
pdu - the SnmpPDU
Returns:
false if the pdu doesnt conform to authentication mechanism of this access policy otherwise true

isReadPolicy

boolean isReadPolicy()
Deprecated. 
Getter for the read policy.

Returns:
true if this is a read-only policy otherwise false