|
IP*Works! S/SNMP V6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--ipworksssnmp.SnmpagentGetUserPasswordEvent
Retrieves a password associated with a user.
The GetUserPassword event is fired after initial inspection of SNMPv3 requests.
The type of password required is provided in the PasswordType parameter: 1 for authentication, and 2 for encryption (privacy).
The password corresponding to User (if any) must be provided in the Password parameter. If the password is valid, processing will continue to
other events such as GetRequest , SetRequest , etc..
If the password does not match the signature in the request, a BadPacket event
will be fired, at which point you can decide whether to report the error to the
client (see the description of the BadPacket event for more information).
If the User is invalid or unknown, set the password to empty string (default)
to ignore the request. This will result in a BadPacket event being fired, at
which point you can decide whether to report the error to the client or not.
Snmpagent,
Snmpagent.GetUserPasswordEvent,
Serialized Form| Field Summary | |
java.lang.String |
password
|
int |
passwordType
|
java.lang.String |
user
|
| Fields inherited from class java.util.EventObject |
source |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int passwordType
public java.lang.String user
public java.lang.String password
|
IP*Works! S/SNMP V6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||