public class RemoteUserAuthenticatorFactory extends BasicHttpAuthenticatorFactory
and web.xml - bean id 'webscripts.authenticator.remoteuser'
This authenticator can be bound to /service and does not require /wcservice (Session) mapping.
Modifier and Type | Class and Description |
---|---|
class |
RemoteUserAuthenticatorFactory.RemoteUserAuthenticator
Remote User authenticator - adds header authentication onto Basic Auth.
|
BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
Modifier and Type | Field and Description |
---|---|
protected org.alfresco.repo.security.authentication.AuthenticationComponent |
authenticationComponent |
protected org.alfresco.repo.security.authentication.external.RemoteUserMapper |
remoteUserMapper |
authenticationService, listener
Constructor and Description |
---|
RemoteUserAuthenticatorFactory() |
Modifier and Type | Method and Description |
---|---|
org.springframework.extensions.webscripts.Authenticator |
create(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req,
org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res) |
void |
setAuthenticationComponent(org.alfresco.repo.security.authentication.AuthenticationComponent authenticationComponent) |
void |
setRemoteUserMapper(org.alfresco.repo.security.authentication.external.RemoteUserMapper remoteUserMapper) |
setAuthenticationListener, setAuthenticationService
protected org.alfresco.repo.security.authentication.external.RemoteUserMapper remoteUserMapper
protected org.alfresco.repo.security.authentication.AuthenticationComponent authenticationComponent
public void setRemoteUserMapper(org.alfresco.repo.security.authentication.external.RemoteUserMapper remoteUserMapper)
public void setAuthenticationComponent(org.alfresco.repo.security.authentication.AuthenticationComponent authenticationComponent)
public org.springframework.extensions.webscripts.Authenticator create(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res)
create
in interface org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory
create
in class BasicHttpAuthenticatorFactory
Copyright © 2005–2017 Alfresco Software. All rights reserved.