IP*Works! S/SNMP V6

ipworksssnmp
Class SnmpagentGetUserPasswordEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--ipworksssnmp.SnmpagentGetUserPasswordEvent
All Implemented Interfaces:
java.io.Serializable

public class SnmpagentGetUserPasswordEvent
extends java.util.EventObject

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.

See Also:
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

passwordType

public int passwordType

user

public java.lang.String user

password

public java.lang.String password

IP*Works! S/SNMP V6

Copyright (c) 2005 /n software inc. - All rights reserved.