[SNMP4J] AgentConfigManager's getVACM() method returns null.

Frank Fock fock at agentpp.com
Thu May 19 09:55:51 CEST 2011


Hi Mark,

You are right. I will fix that.

Best regards,
Frank

On 19.05.2011 09:58, Mark A. Flacy wrote:
> Greetings,
>
> In both of the AgentConfigManager's constructors, the JavaDoc for the
> vacm parameter mentions "Typically, this parameter is set to null to use
> the default VACM associated with the VacmMIB."
>
> The javadoc for AgentConfigManager.getVACM() states "Returns the VACM
> used by this agent config manager."
>
> That isn't the case.  The getVACM() method returns the VACM object given
> in the constructor.  If you use null in the constructor, getVACM()
> returns null instead of a reference to the vacmMIB attribute which is
> what it is actually using.
>
> I'd much prefer for getVACM() to actually return the VACM object used in
> this case (the default VacmMIB) versus the null that I passed in via the
> constructor.
>

-- 
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list