com.sun.jmx.snmp.SnmpUnknownAccContrModelException Java Examples

The following examples show how to use com.sun.jmx.snmp.SnmpUnknownAccContrModelException. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SnmpAccessControlSubSystem.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #2
Source File: SnmpAccessControlSubSystem.java    From jdk8u-dev-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #3
Source File: SnmpAccessControlSubSystem.java    From jdk8u-dev-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #4
Source File: SnmpAccessControlSubSystem.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #5
Source File: SnmpAccessControlSubSystem.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #6
Source File: SnmpAccessControlSubSystem.java    From jdk8u_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #7
Source File: SnmpAccessControlSubSystem.java    From jdk8u_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #8
Source File: SnmpAccessControlSubSystem.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #9
Source File: SnmpAccessControlSubSystem.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #10
Source File: SnmpAccessControlSubSystem.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #11
Source File: SnmpAccessControlSubSystem.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #12
Source File: SnmpAccessControlSubSystem.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #13
Source File: SnmpAccessControlSubSystem.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #14
Source File: SnmpAccessControlSubSystem.java    From jdk8u-jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #15
Source File: SnmpAccessControlSubSystem.java    From jdk1.8-source-analysis with Apache License 2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #16
Source File: SnmpAccessControlSubSystem.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #17
Source File: SnmpAccessControlSubSystem.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #18
Source File: SnmpAccessControlSubSystem.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #19
Source File: SnmpAccessControlSubSystem.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #20
Source File: SnmpAccessControlSubSystem.java    From JDKSourceCode1.8 with MIT License 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #21
Source File: SnmpAccessControlSubSystem.java    From JDKSourceCode1.8 with MIT License 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #22
Source File: SnmpAccessControlSubSystem.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #23
Source File: SnmpAccessControlSubSystem.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #24
Source File: SnmpAccessControlSubSystem.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #25
Source File: SnmpAccessControlSubSystem.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #26
Source File: SnmpAccessControlSubSystem.java    From dragonwell8_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #27
Source File: SnmpAccessControlSubSystem.java    From dragonwell8_jdk with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an SNMP pdu Level.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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.
 */
public void checkPduAccess(int version,
                           String principal,
                           int securityLevel,
                           int pduType,
                           int securityModel,
                           byte[] contextName,
                           SnmpPdu pdu) throws SnmpStatusException, SnmpUnknownAccContrModelException;
 
Example #28
Source File: SnmpAccessControlSubSystem.java    From jdk1.8-source-analysis with Apache License 2.0 3 votes vote down vote up
/**
 * Method called by the dispatcher in order to control the access at an <CODE>SnmpOid</CODE> Level.
 * This method is called after the <CODE>checkPduAccess</CODE> pdu based method.
 * <P> This call is routed by the sub system to the target model according to the SNMP protocol version number.</P>
 * @param version The SNMP protocol version number.
 * @param principal The request principal.
 * @param securityLevel The request security level as defined in <CODE>SnmpEngine</CODE>.
 * @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 void checkAccess(int version,
                        String principal,
                        int securityLevel,
                        int pduType,
                        int securityModel,
                        byte[] contextName,
                        SnmpOid oid) throws SnmpStatusException, SnmpUnknownAccContrModelException;