Class 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
    • Field Detail

      • remoteUserMapper

        protected org.alfresco.repo.security.authentication.external.RemoteUserMapper remoteUserMapper
      • authenticationComponent

        protected org.alfresco.repo.security.authentication.AuthenticationComponent authenticationComponent
    • Constructor Detail

      • RemoteUserAuthenticatorFactory

        public RemoteUserAuthenticatorFactory()
    • 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:
        create in interface org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory
        Overrides:
        create in class BasicHttpAuthenticatorFactory