java.io.Serializable
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 | Description |
---|---|---|
static class |
UsmUserTable.UsmUserKey |
Constructor | Description |
---|---|
UsmUserTable() |
Modifier and Type | Method | 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) |
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()
Copyright © 2018 SNMP4J.org. All rights reserved.