minor change digged out of DefaultAuthenticator

This commit is contained in:
Jozef Kotlar 2012-11-05 20:59:56 +01:00
parent a754b40b30
commit 68eb4aef23
1 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ public final class Confluence35CasAuthenticator extends ConfluenceAuthenticator
if (LOG.isDebugEnabled()) {
LOG.debug("Session found; user already logged in.");
}
LoginReason.OK.stampRequestResponse(request, response);
return existingUser;
}
@ -72,7 +73,7 @@ public final class Confluence35CasAuthenticator extends ConfluenceAuthenticator
if (user != null) {
putPrincipalInSessionContext(request, user);
getElevatedSecurityGuard().onSuccessfulLoginAttempt(request, username);
// Firing this event is necessary to ensure the user's personal information is intialised correctly.
// Firing this event is necessary to ensure the user's personal information is initialised correctly.
getEventPublisher().publish(new LoginEvent(this, username, request.getSession().getId(), remoteHost, remoteIP));
LoginReason.OK.stampRequestResponse(request, response);
if (LOG.isDebugEnabled()) {