public class PublicApiAuthenticatorFactory extends RemoteUserAuthenticatorFactory
| Modifier and Type | Class and Description |
|---|---|
class |
PublicApiAuthenticatorFactory.PublicApiAuthenticator
Public api authentication with additional tenant applicability check
|
RemoteUserAuthenticatorFactory.RemoteUserAuthenticatorBasicHttpAuthenticatorFactory.BasicHttpAuthenticator| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_AUTHENTICATOR_KEY_HEADER |
authenticationComponent, remoteUserMapperauthenticationService, 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(org.alfresco.repo.transaction.RetryingTransactionHelper service) |
void |
setUseBasicAuth(boolean useBasicAuth)
Whether to suggest that users use Basic auth.
|
void |
setValidAuthentictorKeys(Set<String> validKeys) |
setAuthenticationComponent, setRemoteUserMappersetAuthenticationListener, setAuthenticationServicepublic static final String DEFAULT_AUTHENTICATOR_KEY_HEADER
public void setAuthenticatorKeyHeader(String authenticatorKeyHeader)
public void setOutboundHeaders(Set<String> outboundHeaders)
public void setUseBasicAuth(boolean useBasicAuth)
Set this to false to avoid getting Basic auth dialogue popups in browsers when using the public API directly, for example.
useBasicAuth - public void setTenantAuthentication(TenantAuthentication service)
public void setTransactionHelper(org.alfresco.repo.transaction.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 RemoteUserAuthenticatorFactoryCopyright © 2005–2018 Alfresco Software. All rights reserved.