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<UsmUserEntry> |
getUserEntries() |
List<UsmUserEntry> |
getUserEntries(OctetString userName)
Gets all user entries with the supplied user name.
|
List<UsmUserEntry> |
removeAllUsers(OctetString securityName,
OctetString engineID) |
UsmUserEntry |
removeUser(OctetString engineID,
OctetString securityName) |
void |
setUsers(Collection<UsmUserEntry> c) |
public UsmUserEntry addUser(UsmUserEntry user)
public void setUsers(Collection<UsmUserEntry> c)
public List<UsmUserEntry> getUserEntries(OctetString userName)
userName
- an OctetString
denoting the user name.List
containing all user entries with
the specified userName
.public List<UsmUserEntry> getUserEntries()
public 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()
Copyright © 2015 SNMP4J.org. All Rights Reserved.