public class UsmUserTable extends Object implements Serializable
UsmUserTable class stores USM user
information as part of the Local Configuration Datastore (LCD).| Modifier and Type | Class and Description |
|---|---|
static class |
UsmUserTable.UsmUserKey |
| Constructor and Description |
|---|
UsmUserTable() |
| Modifier and Type | Method and Description |
|---|---|
UsmUserEntry |
addUser(UsmUserEntry user) |
void |
clear() |
UsmUserEntry |
getUser(OctetString securityName) |
UsmUserEntry |
getUser(OctetString engineID,
OctetString securityName) |
List |
getUserEntries() |
List |
getUserEntries(OctetString userName)
Gets all user entries with the supplied user name.
|
UsmUserEntry |
removeUser(OctetString engineID,
OctetString securityName) |
void |
setUsers(Collection c) |
public UsmUserEntry addUser(UsmUserEntry user)
public void setUsers(Collection c)
public List getUserEntries(OctetString userName)
userName - an OctetString denoting the user name.List containing all user entries with
the specified userName.public List getUserEntries()
public UsmUserEntry removeUser(OctetString engineID, OctetString securityName)
public UsmUserEntry getUser(OctetString engineID, OctetString securityName)
public UsmUserEntry getUser(OctetString securityName)
public void clear()
Copyright © 2014 SNMP4J.org. All rights reserved.