[SNMP4J] SNMP v3 USM
Rogelio J. Baucells
rj at baucells.org
Mon Sep 5 05:15:23 CEST 2005
Thanks,
RJB
Jochen Katz wrote:
> Hi,
>
>
>>usm.addUser(securityName, new UsmUser(securityName, authProtocolOID, authKey,
>>privProtocolOID, privKey);
>>
>>this specific user definition uses authentication and privacy.
>>
>>Can I use the same security name to create a UserTarget with
>>SecurityLevel.NOAUTH_NOPRIV or SecurityLevel.AUTH_NOPRIV?
>
>
> no, each user only can exist once.
>
>
>>Is required that I use SecurityLevel.AUTH_PRIV?
>
>
> No, if you add a user with auth and priv keys you can use this user for
> messages with all three security levels (noAuthNoPriv, AuthNoPriv and
> AuthPriv).
>
> Regards,
> Jochen
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
More information about the SNMP4J
mailing list