Thanks for the reply.
I have updated the access to:
vacm.addAccess(
new OctetString("public"),
new OctetString("v3notify"),
SecurityModel.SECURITY_MODEL_USM,
SecurityLevel.NOAUTH_NOPRIV ,
MutableVACM.VACM_MATCH_EXACT,
new OctetString("fullReadView"),
new OctetString("fullWriteView"),
new OctetString("fullNotifyView"),
StorageType.volatile_
);
The access is still denied. See log:
Notification 1.3.6.1.4.1.1.2.1 reported with [1.3.6.1.4.1.1.1.7.1.2 = 1, 1.3.6.1.4.1.1.1.7.1.3 = 2, 1.3.6.1.4.1.1.1.7.1.5 = 3] for context public
VACM access requested for context=public, securityName=v3notify, securityModel=3, securityLevel=1, viewType=0, OID=1.3.6.1.4.1.1.2.1
Found group name 'v3notify' for secName 'v3notify' and secModel 3
Got views [] for group name 'v3notify'
Access denied by VACM for 1.3.6.1.4.1.1.2.1