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 java.lang.String |
DEFAULT_AUTHENTICATOR_KEY_HEADER |
static java.lang.String |
DEFAULT_REMOTE_USER_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(java.lang.String authenticatorKeyHeader) |
void |
setOutboundHeaders(java.util.Set outboundHeaders)
Set the headers passed to the gateway for authentication.
|
void |
setRemoteUserHeader(java.lang.String remoteUserHeader) |
void |
setTenantAuthentication(TenantAuthentication service) |
void |
setTransactionHelper(org.alfresco.repo.transaction.RetryingTransactionHelper service) |
void |
setValidAuthentictorKeys(java.util.Set validKeys) |
setAuthenticationService
public static final java.lang.String DEFAULT_AUTHENTICATOR_KEY_HEADER
public static final java.lang.String DEFAULT_REMOTE_USER_HEADER
public void setAuthenticatorKeyHeader(java.lang.String authenticatorKeyHeader)
public void setAuthenticationListener(AuthenticationListener authenticationListener)
BasicHttpAuthenticatorFactory
BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
instances.setAuthenticationListener
in class BasicHttpAuthenticatorFactory
public void setOutboundHeaders(java.util.Set outboundHeaders)
outboundHeaders
- public void setRemoteUserHeader(java.lang.String remoteUserHeader)
public void setTenantAuthentication(TenantAuthentication service)
public void setTransactionHelper(org.alfresco.repo.transaction.RetryingTransactionHelper service)
public void setValidAuthentictorKeys(java.util.Set validKeys)
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 - 2013 Alfresco Software, Inc. All Rights Reserved.