1 11 package com.sun.jmx.snmp.internal; 12 13 import com.sun.jmx.snmp.SnmpStatusException; 14 import com.sun.jmx.snmp.SnmpOid; 15 import com.sun.jmx.snmp.SnmpPdu; 16 22 public interface SnmpAccessControlModel extends SnmpModel { 23 34 public void checkAccess(int version, 35 String principal, 36 int securityLevel, 37 int pduType, 38 int securityModel, 39 byte[] contextName, 40 SnmpOid oid) 41 throws SnmpStatusException; 42 53 public void checkPduAccess(int version, 54 String principal, 55 int securityLevel, 56 int pduType, 57 int securityModel, 58 byte[] contextName, 59 SnmpPdu pdu) 60 throws SnmpStatusException; 61 62 66 public boolean enableSnmpV1V2SetRequest(); 67 71 public boolean disableSnmpV1V2SetRequest(); 72 73 77 public boolean isSnmpV1V2SetRequestAuthorized(); 78 } 79 | Popular Tags |