|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.snmp.manager.SnmpParams
javax.management.snmp.manager.SnmpV3Parameters
javax.management.snmp.manager.usm.SnmpUsmParameters
com.sun.management.snmp.manager.usm
in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
This class models the set of parameters that are needed when making an SNMP request to an SNMP engine using the User Based Security Model.
When a SnmpUsmParameters
is instantiated, the security level default value is noAuthNoPriv
.
Field Summary |
Constructor Summary | |
SnmpUsmParameters(SnmpEngine engine)
Deprecated. Package constructor. |
|
SnmpUsmParameters(SnmpEngine engine,
String principal)
Deprecated. Package constructor. |
Method Summary | |
String |
getPrincipal()
Deprecated. Returns the associated principal. |
void |
setPrincipal(String principal)
Deprecated. Set the associated principal. |
Methods inherited from class javax.management.snmp.manager.SnmpV3Parameters |
allowSnmpSets, getContextEngineId, getContextName, getMsgMaxSize, getMsgSecurityModel, getSecurityLevel, getSecurityParameters, setContextEngineId, setContextName, setMsgMaxSize, setMsgSecurityModel, setSecurityLevel, setSecurityParameters |
Methods inherited from class javax.management.snmp.manager.SnmpParams |
getProtocolVersion, setProtocolVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SnmpUsmParameters(SnmpEngine engine, String principal) throws SnmpUnknownModelException
engine
- The engine.principal
- The user name that will be used when sending calls.
SnmpUnknownModelException
- If Usm is not present in the passed engine.public SnmpUsmParameters(SnmpEngine engine) throws SnmpUnknownModelException
engine
- The engine.
SnmpUnknownModelException
- If Usm is not present in the passed engine.Method Detail |
public String getPrincipal()
public void setPrincipal(String principal)
|
FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |