[SNMP4J] USM question

Jozsef Lazar jlazar at netavis.hu
Wed Jul 1 10:42:34 CEST 2009


Frank Fock wrote:
> Joseph,
>
> The TestAgent example shows the USM/VACM initialization
> using code. This can be used with the SampleAgent too.
Yes, but TestAgent extends BaseAgent and can overwrite the addUsmUser 
method. The AgentConfigManager class has no such method. How can I do it 
then? The same holds true for VIEWS.

-- josef
>
> Best regards,
> Frank
>
> Jozsef Lazar wrote:
>> I'm quite new to this topic so please be patient with me ;-)
>>
>> I'm trying to build a very simple agent with a few scalars (for test 
>> only). This program is only a model for a "real" application. To make 
>> things simple I took SampleAgent.java as an example and put my 
>> scalars into it. I see that user authentication is done via the 
>> property file. My question is how can I (using this agent model) do 
>> it programmatically? Or should I use some other agent models? Please 
>> give me a hint.
>>
>> -- joseph
>>
>> _______________________________________________
>> SNMP4J mailing list
>> SNMP4J at agentpp.org
>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>




More information about the SNMP4J mailing list