Package org.alfresco.rest.api
Class PublicApiAuthenticatorFactory.PublicApiAuthenticator
java.lang.Object
org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
org.alfresco.repo.web.scripts.servlet.RemoteUserAuthenticatorFactory.RemoteUserAuthenticator
org.alfresco.rest.api.PublicApiAuthenticatorFactory.PublicApiAuthenticator
- All Implemented Interfaces:
org.springframework.extensions.webscripts.Authenticator
- Enclosing class:
- PublicApiAuthenticatorFactory
public class PublicApiAuthenticatorFactory.PublicApiAuthenticator
extends RemoteUserAuthenticatorFactory.RemoteUserAuthenticator
Public api authentication with additional tenant applicability check
-
Field Summary
Fields inherited from class org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
authorization, listener, servletRes, ticket
-
Constructor Summary
ConstructorsConstructorDescriptionPublicApiAuthenticator
(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res, org.alfresco.rest.api.PublicApiAuthenticatorFactory.ProxyListener proxyListener) Construct -
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(org.springframework.extensions.webscripts.Description.RequiredAuthentication required, boolean isGuest) Methods inherited from class org.alfresco.repo.web.scripts.servlet.RemoteUserAuthenticatorFactory.RemoteUserAuthenticator
getRemoteUser, getRemoteUserWithTimeout, isAdminConsoleWebScript
Methods inherited from class org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
emptyCredentials, isBasicAuthHeaderPresentForAdmin
-
Constructor Details
-
PublicApiAuthenticator
public PublicApiAuthenticator(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res, org.alfresco.rest.api.PublicApiAuthenticatorFactory.ProxyListener proxyListener) Construct- Parameters:
req
- WebScriptServletRequestres
- WebScriptServletResponseproxyListener
- ProxyListener
-
-
Method Details
-
authenticate
public boolean authenticate(org.springframework.extensions.webscripts.Description.RequiredAuthentication required, boolean isGuest) - Specified by:
authenticate
in interfaceorg.springframework.extensions.webscripts.Authenticator
- Overrides:
authenticate
in classRemoteUserAuthenticatorFactory.RemoteUserAuthenticator
-