FileDocCategorySizeDatePackage
SnmpAccessControlSubSystem.javaAPI DocJava SE 5 API2674Fri Aug 26 14:55:06 BST 2005com.sun.jmx.snmp.internal

SnmpAccessControlSubSystem

public interface SnmpAccessControlSubSystem implements SnmpSubSystem
Access Control sub system interface. To allow engine integration, an Access Control sub system must implement this interface.

This API is a Sun Microsystems internal API and is subject to change without notice.

since
1.5

Fields Summary
Constructors Summary
Methods Summary
public voidcheckAccess(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. This method is called after the checkPduAccess pdu based method.

This call is routed by the sub system to the target model according to the SNMP protocol version number.

param
version The SNMP protocol version number.
param
principal The request principal.
param
securityLevel The request security level as defined in SnmpEngine.
param
pduType The pdu type (get, set, ...).
param
securityModel The security model ID.
param
contextName The access control context name.
param
oid The OID to check.

public voidcheckPduAccess(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.

This call is routed by the sub system to the target model according to the SNMP protocol version number.

param
version The SNMP protocol version number.
param
principal The request principal.
param
securityLevel The request security level as defined in SnmpEngine.
param
pduType The pdu type (get, set, ...).
param
securityModel The security model ID.
param
contextName The access control context name.
param
pdu The pdu to check.