Uses of Class
org.snmp4j.security.UsmUserEntry
Package
Description
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
Provides classes and interfaces for SNMP4J event processing.
Provides classes and interfaces for authentication and privacy of SNMP(v3)
messages.
-
Uses of UsmUserEntry in org.snmp4j
Modifier and TypeMethodDescriptionSnmp.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.Modifier and TypeMethodDescriptionSnmp.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
Modifier and TypeMethodDescriptionUsmUserEvent.getUser()
Get the modified entry of theUsmUserTable
.ModifierConstructorDescriptionUsmUserEvent
(SecurityModel source, UsmUserEntry changedEntry, int type) Construct a UsmUserEvent. -
Uses of UsmUserEntry in org.snmp4j.security
Modifier and TypeMethodDescriptionUSM.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) UsmUserTable.addUser
(UsmUserEntry user) Adds or replaces any existing entry with same engineID and securityName combination, seeUsmUserTable.UsmUserKey
.USM.addUsmUserEntry
(UsmUserEntry usmUserEntry) Adds an USM user to the internal username table.USM.getUser
(OctetString engineID, OctetString securityName) Looks up aUsmUserEntry
by an engine ID and security name.USM.getUser
(OctetString engineID, OctetString securityName, UsmUser.LocalizationGrant requiredLocalizationGrant) Looks up aUsmUserEntry
by an engine ID and security name.UsmUserTable.getUser
(OctetString securityName) UsmUserTable.getUser
(OctetString engineID, OctetString securityName) UsmUserTable.removeUser
(OctetString engineID, OctetString securityName) Modifier and TypeMethodDescriptionUsmUserTable.getUserEntries()
UsmUserTable.getUserEntries
(OctetString userName) Gets all user entries with the supplied user name.UsmUserTable.removeAllUsers
(OctetString securityName, OctetString engineID) Modifier and TypeMethodDescriptionprotected UsmUserEntry
USM.addLocalizedUsmUserEntry
(OctetString engineID, OctetString securityName, UsmUserEntry entry) UsmUserTable.addUser
(UsmUserEntry user) Adds or replaces any existing entry with same engineID and securityName combination, seeUsmUserTable.UsmUserKey
.USM.addUsmUserEntry
(UsmUserEntry usmUserEntry) Adds an USM user to the internal username 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 username as the supplied instance and fires an appropriateUsmUserEvent
.