org.snmp4j.security
Class UsmUserTable
java.lang.Object
org.snmp4j.security.UsmUserTable
- All Implemented Interfaces:
- java.io.Serializable
public class UsmUserTable
- extends java.lang.Object
- implements java.io.Serializable
The UsmUserTable class stores USM user
information as part of the Local Configuration Datastore (LCD).
- Version:
- 1.1
- Author:
- Frank Fock
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsmUserTable
public UsmUserTable()
addUser
public UsmUserEntry addUser(UsmUserEntry user)
setUsers
public void setUsers(java.util.Collection c)
getUserEntries
public java.util.List getUserEntries(OctetString userName)
- Gets all user entries with the supplied user name.
- Parameters:
userName - an OctetString denoting the user name.
- Returns:
- a possibly empty
List containing all user entries with
the specified userName.
getUserEntries
public java.util.List getUserEntries()
removeUser
public UsmUserEntry removeUser(OctetString engineID,
OctetString securityName)
getUser
public UsmUserEntry getUser(OctetString engineID,
OctetString securityName)
getUser
public UsmUserEntry getUser(OctetString securityName)
clear
public void clear()