[SNMP4J] AuthenticationFailureListener is not working
Krishna Raja
dear.rajak at gmail.com
Mon Aug 21 09:30:45 CEST 2006
If I add the AuthenticationFailureListener in MessageDispatcherImpl, it
doesn't add it.
code below seems to be not using the parameter passed
public synchronized void addAuthenticationFailureListener(
AuthenticationFailureListener l) {
Vector v = (authenticationFailureListeners == null) ?
new Vector(2) : (Vector) authenticationFailureListeners.clone();
if (!v.contains(authenticationFailureListeners)) {
v.addElement(authenticationFailureListeners);
authenticationFailureListeners = v;
}
}
Regards,
Krishna
More information about the SNMP4J
mailing list