public class PublicApiAuthenticatorFactory extends BasicHttpAuthenticatorFactory
| Modifier and Type | Class and Description |
|---|---|
class |
PublicApiAuthenticatorFactory.PublicApiAuthenticator
Public api authentication with additional tenant applicability check
|
BasicHttpAuthenticatorFactory.BasicHttpAuthenticator| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_AUTHENTICATOR_KEY_HEADER |
| 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 |
setAuthenticationListener(AuthenticationListener authenticationListener)
Set the listener for authentication events, generated by
BasicHttpAuthenticatorFactory.BasicHttpAuthenticator instances. |
void |
setAuthenticatorKeyHeader(String authenticatorKeyHeader) |
void |
setOutboundHeaders(Set<String> outboundHeaders)
Set the headers passed to the gateway for authentication.
|
void |
setRemoteUserMapper(RemoteUserMapper remoteUserMapper) |
void |
setTenantAuthentication(TenantAuthentication service) |
void |
setTransactionHelper(RetryingTransactionHelper service) |
void |
setValidAuthentictorKeys(Set<String> validKeys) |
setAuthenticationServicepublic static final String DEFAULT_AUTHENTICATOR_KEY_HEADER
public void setAuthenticatorKeyHeader(String authenticatorKeyHeader)
public void setAuthenticationListener(AuthenticationListener authenticationListener)
BasicHttpAuthenticatorFactoryBasicHttpAuthenticatorFactory.BasicHttpAuthenticator instances.setAuthenticationListener in class BasicHttpAuthenticatorFactorypublic void setOutboundHeaders(Set<String> outboundHeaders)
outboundHeaders - public void setRemoteUserMapper(RemoteUserMapper remoteUserMapper)
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.ServletAuthenticatorFactorycreate in class BasicHttpAuthenticatorFactoryCopyright © 2005–2014 Alfresco Software. All rights reserved.