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 AuthenticationComponent |
authenticationComponent |
protected 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(AuthenticationComponent authenticationComponent) |
void |
setRemoteUserMapper(RemoteUserMapper remoteUserMapper) |
setAuthenticationListener, setAuthenticationService
protected RemoteUserMapper remoteUserMapper
protected AuthenticationComponent authenticationComponent
public void setRemoteUserMapper(RemoteUserMapper remoteUserMapper)
public void setAuthenticationComponent(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.