java.lang.Object
org.snmp4j.security.UsmUserTable
- All Implemented Interfaces:
Serializable
The
UsmUserTable class stores USM user
information as part of the Local Configuration Datastore (LCD).- Version:
- 1.1
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final LogAdapterprivate static final longprivate Map<UsmUserTable.UsmUserKey, UsmUserEntry> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUser(UsmUserEntry user) voidclear()getUser(OctetString securityName) getUser(OctetString engineID, OctetString securityName) getUserEntries(OctetString userName) Gets all user entries with the supplied user name.removeAllUsers(OctetString securityName, OctetString engineID) removeUser(OctetString engineID, OctetString securityName) void
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
logger
-
table
-
-
Constructor Details
-
UsmUserTable
public UsmUserTable()
-
-
Method Details
-
addUser
-
setUsers
-
getUserEntries
Gets all user entries with the supplied user name.- Parameters:
userName- anOctetStringdenoting the user name.- Returns:
- a possibly empty
Listcontaining all user entries with the specifieduserName.
-
getUserEntries
-
removeAllUsers
-
removeUser
-
getUser
-
getUser
-
clear
public void clear()
-