mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
90921: MNT-12765 - No endpoints can be configured in Share that use external-auth and a different URL - as they will be redirected down the URL for 'alfresco' endpoint. Merged PROPERTY_GROUP_PROTOTYPING (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud) 90742: Refactoring of SSO paths - Added Session User authentication support to RemoteUserAuthenticatorFactory - so can use cookie based auth for example with Public API route. - Tidy up of common duplicated code constants e.g. _alfAuthTicket - Added Global Authentication Filter around the /api/* endpoint to allow SSO active over Public API git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94744 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -49,8 +49,6 @@ import org.apache.commons.logging.LogFactory;
|
||||
*/
|
||||
public class SSOFallbackBasicAuthenticationDriver implements AuthenticationDriver
|
||||
{
|
||||
public static final String AUTHENTICATION_USER = "_alfAuthTicket";
|
||||
|
||||
private Log logger = LogFactory.getLog(SSOFallbackBasicAuthenticationDriver.class);
|
||||
|
||||
private AuthenticationService authenticationService;
|
||||
@@ -58,7 +56,7 @@ public class SSOFallbackBasicAuthenticationDriver implements AuthenticationDrive
|
||||
private NodeService nodeService;
|
||||
private TransactionService transactionService;
|
||||
|
||||
private String userAttributeName = AUTHENTICATION_USER;
|
||||
private String userAttributeName = AuthenticationDriver.AUTHENTICATION_USER;
|
||||
|
||||
public void setAuthenticationService(AuthenticationService authenticationService)
|
||||
{
|
||||
|
Reference in New Issue
Block a user