mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
90919: MNT-12764 - The X-Alfresco-Remote-User (SsoUserHeader) SSO code path executes x2 requests and is stateful when it does not need to be Merged PROPERTY_GROUP_PROTOTYPING (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud) 90559: Refactoring of SSO paths - Web-client mappings for new authenticator git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -587,7 +587,7 @@ public final class AuthenticationHelper
|
||||
if (sessionUser instanceof User)
|
||||
{
|
||||
user = (User)sessionUser;
|
||||
setExternalAuth(session, userId != null);
|
||||
setExternalAuth(session, userId != null);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -654,7 +654,7 @@ public final class AuthenticationHelper
|
||||
logger.debug("Invalidating the session.");
|
||||
session.invalidate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return user;
|
||||
|
@@ -312,4 +312,10 @@ public final class User implements SessionUser
|
||||
|
||||
return nameAndId.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return this.userName;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user