public class UsmUserTable
extends java.lang.Object
implements java.io.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 |
Modifier and Type | Field and Description |
---|---|
private static LogAdapter |
logger |
private static long |
serialVersionUID |
private java.util.Map<UsmUserTable.UsmUserKey,UsmUserEntry> |
table |
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) |
java.util.List<UsmUserEntry> |
getUserEntries() |
java.util.List<UsmUserEntry> |
getUserEntries(OctetString userName)
Gets all user entries with the supplied user name.
|
java.util.List<UsmUserEntry> |
removeAllUsers(OctetString securityName,
OctetString engineID) |
UsmUserEntry |
removeUser(OctetString engineID,
OctetString securityName) |
void |
setUsers(java.util.Collection<UsmUserEntry> c) |
private static final long serialVersionUID
private static final LogAdapter logger
private java.util.Map<UsmUserTable.UsmUserKey,UsmUserEntry> table
public UsmUserEntry addUser(UsmUserEntry user)
public void setUsers(java.util.Collection<UsmUserEntry> c)
public java.util.List<UsmUserEntry> getUserEntries(OctetString userName)
userName
- an OctetString
denoting the user name.List
containing all user entries with
the specified userName
.public java.util.List<UsmUserEntry> getUserEntries()
public java.util.List<UsmUserEntry> removeAllUsers(OctetString securityName, OctetString engineID)
public UsmUserEntry removeUser(OctetString engineID, OctetString securityName)
public UsmUserEntry getUser(OctetString engineID, OctetString securityName)
public UsmUserEntry getUser(OctetString securityName)
public void clear()