Class RemoteUserAuthenticatorFactory
- java.lang.Object
-
- org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory
-
- org.alfresco.repo.web.scripts.servlet.RemoteUserAuthenticatorFactory
-
- All Implemented Interfaces:
org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory
- Direct Known Subclasses:
PublicApiAuthenticatorFactory
public class RemoteUserAuthenticatorFactory extends BasicHttpAuthenticatorFactory
Authenticator to provide Remote User based Header authentication dropping back to Basic Auth otherwise. Statelessly authenticating via a secure header now does not require a Session so can be used with request-level load balancers which was not previously possible.- Since:
- 5.1
- Author:
- Kevin Roast
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classRemoteUserAuthenticatorFactory.RemoteUserAuthenticatorRemote User authenticator - adds header authentication onto Basic Auth.-
Nested classes/interfaces inherited from class org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory
BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
-
-
Field Summary
Fields Modifier and Type Field Description protected org.alfresco.repo.security.authentication.AuthenticationComponentauthenticationComponentprotected org.alfresco.repo.security.authentication.external.RemoteUserMapperremoteUserMapper-
Fields inherited from class org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory
authenticationService, listener
-
-
Constructor Summary
Constructors Constructor Description RemoteUserAuthenticatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.extensions.webscripts.Authenticatorcreate(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res)voidsetAuthenticationComponent(org.alfresco.repo.security.authentication.AuthenticationComponent authenticationComponent)voidsetRemoteUserMapper(org.alfresco.repo.security.authentication.external.RemoteUserMapper remoteUserMapper)-
Methods inherited from class org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory
setAuthenticationListener, setAuthenticationService
-
-
-
-
Method Detail
-
setRemoteUserMapper
public void setRemoteUserMapper(org.alfresco.repo.security.authentication.external.RemoteUserMapper remoteUserMapper)
-
setAuthenticationComponent
public void setAuthenticationComponent(org.alfresco.repo.security.authentication.AuthenticationComponent authenticationComponent)
-
create
public org.springframework.extensions.webscripts.Authenticator create(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res)- Specified by:
createin interfaceorg.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory- Overrides:
createin classBasicHttpAuthenticatorFactory
-
-