Package org.snmp4j.security
Class UsmUserTable
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
- Author:
- Frank Fock
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddUser
(UsmUserEntry user) void
clear()
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
-
Constructor Details
-
UsmUserTable
public UsmUserTable()
-
-
Method Details
-
addUser
-
setUsers
-
getUserEntries
Gets all user entries with the supplied user name.- Parameters:
userName
- anOctetString
denoting the user name.- Returns:
- a possibly empty
List
containing all user entries with the specifieduserName
.
-
getUserEntries
-
removeAllUsers
-
removeUser
-
getUser
-
getUser
-
clear
public void clear()
-