}
preAuthenticationGroups.clear();
}
}
beanManager.fireEvent(new PostAuthenticateEvent());
} finally {
// Set credential to null whether authentication is successful or not
activeAuthenticator = null;
credentials.setCredential(null);
authenticating = false;