_ready = true;
AuthenticationModule mod = getAuthModule();
if (mod != null) {
Iterator listeners = _cachedListeners.iterator();
while (listeners.hasNext()) {
AuthenticationSourceListener listener = (AuthenticationSourceListener) listeners.next();
mod.addAuthenticationSourceListener(listener);
}
}
_cachedListeners.clear();
}