Uses of Class
org.snmp4j.security.UsmUserEntry
-
Packages that use UsmUserEntry Package Description org.snmp4j Provides classes and interfaces for creating, sending, and receiving SNMP messages.org.snmp4j.event Provides classes and interfaces for SNMP4J event processing.org.snmp4j.security Provides classes and interfaces for authentication and privacy of SNMP(v3) messages. -
-
Uses of UsmUserEntry in org.snmp4j
Methods in org.snmp4j that return UsmUserEntry Modifier and Type Method Description UsmUserEntry
Snmp. createLocalizedUsmUserEntry(byte[] engineID, OctetString securityName, OID authProtocol, OctetString authPassword, OID privProtocol, OctetString privPassword)
Create and return aUsmUserEntry
with localized authentication and privacy keys from the provided authentication and privacy passwords.Methods in org.snmp4j with parameters of type UsmUserEntry Modifier and Type Method Description SecurityLevel
Snmp. setLocalizedUserCredentials(DirectUserTarget<?> directUserTarget, UsmUserEntry localizedUserCredentials)
Sets the user's security name and authentication/privacy keys and protocols on the suppliedDirectUserTarget
and returns the maximumSecurityLevel
it can be used with. -
Uses of UsmUserEntry in org.snmp4j.event
Fields in org.snmp4j.event declared as UsmUserEntry Modifier and Type Field Description private UsmUserEntry
UsmUserEvent. user
Methods in org.snmp4j.event that return UsmUserEntry Modifier and Type Method Description UsmUserEntry
UsmUserEvent. getUser()
Get the modified entry of theUsmUserTable
.Constructors in org.snmp4j.event with parameters of type UsmUserEntry Constructor Description UsmUserEvent(SecurityModel source, UsmUserEntry changedEntry, int type)
Construct a UsmUserEvent. -
Uses of UsmUserEntry in org.snmp4j.security
Fields in org.snmp4j.security with type parameters of type UsmUserEntry Modifier and Type Field Description private java.util.Map<UsmUserTable.UsmUserKey,UsmUserEntry>
UsmUserTable. table
Methods in org.snmp4j.security that return UsmUserEntry Modifier and Type Method Description UsmUserEntry
USM. addLocalizedUser(byte[] engineID, OctetString userName, OID authProtocol, byte[] authKey, OID privProtocol, byte[] privKey)
Adds a localized user to the USM.protected UsmUserEntry
USM. addLocalizedUsmUserEntry(OctetString engineID, OctetString securityName, UsmUserEntry entry)
UsmUserEntry
UsmUserTable. addUser(UsmUserEntry user)
UsmUserEntry
USM. getUser(OctetString engineID, OctetString securityName)
Looks up aUsmUserEntry
by an engine ID and security name.UsmUserEntry
UsmUserTable. getUser(OctetString securityName)
UsmUserEntry
UsmUserTable. getUser(OctetString engineID, OctetString securityName)
UsmUserEntry
UsmUserTable. removeUser(OctetString engineID, OctetString securityName)
Methods in org.snmp4j.security that return types with arguments of type UsmUserEntry Modifier and Type Method Description java.util.List<UsmUserEntry>
UsmUserTable. getUserEntries()
java.util.List<UsmUserEntry>
UsmUserTable. getUserEntries(OctetString userName)
Gets all user entries with the supplied user name.java.util.List<UsmUserEntry>
UsmUserTable. removeAllUsers(OctetString securityName, OctetString engineID)
Methods in org.snmp4j.security with parameters of type UsmUserEntry Modifier and Type Method Description protected UsmUserEntry
USM. addLocalizedUsmUserEntry(OctetString engineID, OctetString securityName, UsmUserEntry entry)
UsmUserEntry
UsmUserTable. addUser(UsmUserEntry user)
void
USM. addUsmUserEntry(UsmUserEntry usmUserEntry)
Adds an USM user to the internal user name table.int
UsmUserEntry. compareTo(UsmUserEntry other)
Compares this user entry with another one by engine ID then by their user names.void
USM. updateUser(UsmUserEntry entry)
Updates the USM user entry with the same engine ID and user name as the supplied instance and fires an appropriateUsmUserEvent
.Method parameters in org.snmp4j.security with type arguments of type UsmUserEntry Modifier and Type Method Description void
UsmUserTable. setUsers(java.util.Collection<UsmUserEntry> c)
Constructors in org.snmp4j.security with parameters of type UsmUserEntry Constructor Description UsmUserKey(UsmUserEntry entry)
-