|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpACM
This class is used for ACM implementation and provides the abstract method isAccessAllowed which does the access verifications. The access verifications are performed only if the acmUsed flag is set to true. The method setAcmUsed is used to set the vacmUsed flag.
Constructor Summary | |
SnmpACM()
|
Method Summary | |
abstract int |
isAccessAllowed(SnmpPDU pdu,
SnmpOID oid)
This method processess the isAccessAllowed request. |
abstract boolean |
isAcmUsed()
Gets the status of the acmUsed flag. |
abstract void |
setAcmUsed(boolean used)
This method is used to set the acmUsed flag. |
protected void |
setDBOperations(DatabaseOperations dbOps)
|
protected void |
setV3DatabaseFlag(boolean dbFlag)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SnmpACM()
Method Detail |
public abstract void setAcmUsed(boolean used)
used
- The boolean value to set the acmUsed flag.public abstract boolean isAcmUsed()
public abstract int isAccessAllowed(SnmpPDU pdu, SnmpOID oid)
pdu
- The SnmpPDU which has all the parameters required for
processing the isAccessAllowed.(context,securityName,securityModel etc.)oid
- The SnmpOID. It has the Object Identifier for which the
access verifications are to be performed.
protected void setDBOperations(DatabaseOperations dbOps)
protected void setV3DatabaseFlag(boolean dbFlag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |