public class PublicApiAuthenticatorFactory extends RemoteUserAuthenticatorFactory
Modifier and Type | Class and Description |
---|---|
class |
PublicApiAuthenticatorFactory.PublicApiAuthenticator
Public api authentication with additional tenant applicability check
|
RemoteUserAuthenticatorFactory.RemoteUserAuthenticator
BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_AUTHENTICATOR_KEY_HEADER |
authenticationComponent, remoteUserMapper
authenticationService, listener
Constructor and Description |
---|
PublicApiAuthenticatorFactory() |
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 |
setAuthenticatorKeyHeader(String authenticatorKeyHeader) |
void |
setOutboundHeaders(Set<String> outboundHeaders)
Set the headers passed to the gateway for authentication.
|
void |
setTenantAuthentication(TenantAuthentication service) |
void |
setTransactionHelper(RetryingTransactionHelper service) |
void |
setValidAuthentictorKeys(Set<String> validKeys) |
setAuthenticationComponent, setRemoteUserMapper
setAuthenticationListener, setAuthenticationService
public static final String DEFAULT_AUTHENTICATOR_KEY_HEADER
public void setAuthenticatorKeyHeader(String authenticatorKeyHeader)
public void setOutboundHeaders(Set<String> outboundHeaders)
public void setTenantAuthentication(TenantAuthentication service)
public void setTransactionHelper(RetryingTransactionHelper service)
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 RemoteUserAuthenticatorFactory
Copyright © 2005–2017 Alfresco Software. All rights reserved.