SNMP4J 3.4.0 has been released 2020-03-04T23:00:00Z which an notable new feature implemented around the new class
With that new class, USM users for confirmed requests can be directly provided to the
TransportMapping respectively without the need to add the
UsmUser to the USM beforehand.
See the following FAQ article for details and an example:
- Java 9 or later
- Added [SFJ-216]: Added support for
USMlocalised keys directly in
DirectUserTargetwhich allows sending request and receiving their responses without previously adding the
USMuser to the
USMmodel. Instead the new class
DirectUserTargetcan be used to fully specify a SNMPv3 USM user target.
Snmp.createLocalizedUsmUserEntrymethods to better support SFJ-216.
- Fixed SFJ-196:
UsmUsergot storage type from existing entry when the same user is loaded from persistent storage which is incorrect for storage types less than
OctetString.fromStringto create null-safe an OctetString object from a Java String.
OctetString.from*** methods are now null-safe, i.e. those methods return null instead of trowing a
NullPointerExceptionif the provided value is null.