SnmpAccessControlModelpublic interface SnmpAccessControlModel implements SnmpModelAccess Control Model interface. Every access control model must implement this interface in order to be integrated in the engine based framework.
This API is a Sun Microsystems internal API and is subject
to change without notice. |
Methods Summary |
---|
public void | checkAccess(int version, java.lang.String principal, int securityLevel, int pduType, int securityModel, byte[] contextName, com.sun.jmx.snmp.SnmpOid oid)Method called by the dispatcher in order to control the access at an SnmpOid Level. If access is not allowed, an SnmpStatusException is thrown.
This method is called after the checkPduAccess pdu based method.
| public void | checkPduAccess(int version, java.lang.String principal, int securityLevel, int pduType, int securityModel, byte[] contextName, com.sun.jmx.snmp.SnmpPdu pdu)Method called by the dispatcher in order to control the access at an SNMP pdu Level. If access is not allowed, an SnmpStatusException is thrown. In case of exception, the access control is aborted. OIDs are not checked.
This method should be called prior to the checkAccess OID based method.
| public boolean | disableSnmpV1V2SetRequest()Disable SNMP V1 and V2 set requests. By default SNMP V1 and V2 set requests are not authorized.
| public boolean | enableSnmpV1V2SetRequest()Enable SNMP V1 and V2 set requests. Be aware that can lead to a security hole in a context of SNMP V3 management. By default SNMP V1 and V2 set requests are not authorized.
| public boolean | isSnmpV1V2SetRequestAuthorized()The SNMP V1 and V2 set requests authorization status. By default SNMP V1 and V2 set requests are not authorized.
|
|