ipworksssnmp
Class SnmptrapmgrGetUserSecurityLevelEvent
java.lang.Object
|
+--java.util.EventObject
|
+--ipworksssnmp.SnmptrapmgrGetUserSecurityLevelEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class SnmptrapmgrGetUserSecurityLevelEvent
- extends java.util.EventObject
Sets the security level for an incoming packet.
The GetUserSecurityLevel event is fired after the first inspection of each
SNMPv3 request. The SecurityLevel parameter determines the level
of security for the message.
On entry, the SecurityLevel parameter contains the default security
level for User if the user is located in the internal cache, or if
the User is not found in the cache, the security level requested by
the flags of the incoming packet.
The value of SecurityLevel upon exiting the event, determines how
the message will be processed:
- -1
- The message will be ignored and a
BadPacket event will be fired.
- 0
- No security. The message will be processed without any authentication
and/or encryption.
- 1
- Authentication only. The message will be checked for a valid signature
and the
GetUserPassword event will be fired to verify the authentication
password.
- 2
- Authentication and Privacy. The message will be checked for a valid signature
and the
GetUserPassword event will be fired twice: first to verify the authentication
password, and then to verify the privacy password.
- See Also:
Snmptrapmgr,
Snmptrapmgr.GetUserSecurityLevelEvent,
Serialized Form
| 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 |
user
public java.lang.String user
engineId
public byte[] engineId
securityLevel
public int securityLevel
Copyright (c) 2005 /n software inc. - All rights reserved.