mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Code cleanup.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -155,23 +155,16 @@ public final class AuthenticationHelper
|
||||
tx.commit();
|
||||
tx = null; // clear this so we know not to rollback
|
||||
|
||||
// // store the User object in the Session - the authentication servlet will then proceed
|
||||
// session.setAttribute(AuthenticationHelper.AUTHENTICATION_USER, user);
|
||||
//
|
||||
// // Set the current locale
|
||||
// I18NUtil.setLocale(Application.getLanguage(httpRequest.getSession()));
|
||||
//
|
||||
// // remove the session invalidated flag
|
||||
// session.removeAttribute(AuthenticationHelper.SESSION_INVALIDATED);
|
||||
|
||||
I18NUtil.setLocale(Application.getLanguage(httpRequest.getSession()));
|
||||
// store the User object in the Session - the authentication servlet will then proceed
|
||||
session.setAttribute(AuthenticationHelper.AUTHENTICATION_USER, user);
|
||||
|
||||
// Set the current locale
|
||||
I18NUtil.setLocale(Application.getLanguage(httpRequest.getSession()));
|
||||
//
|
||||
// remove the session invalidated flag
|
||||
|
||||
// remove the session invalidated flag
|
||||
session.removeAttribute(AuthenticationHelper.SESSION_INVALIDATED);
|
||||
|
||||
// remove the session invalidated flag
|
||||
session.removeAttribute(AuthenticationHelper.SESSION_INVALIDATED);
|
||||
|
||||
// it is the responsibilty of the caller to handle the Guest return status
|
||||
|
Reference in New Issue
Block a user