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 TypeMethodDescriptionbooleanauthenticate(org.springframework.extensions.webscripts.Description.RequiredAuthentication required, boolean isGuest) Methods inherited from class org.alfresco.repo.web.scripts.servlet.RemoteUserAuthenticatorFactory.RemoteUserAuthenticator
getAdminConsoleUser, getRemoteUser, getRemoteUserWithTimeout, isAdminConsoleWebScriptMethods 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:
authenticatein interfaceorg.springframework.extensions.webscripts.Authenticator- Overrides:
authenticatein classRemoteUserAuthenticatorFactory.RemoteUserAuthenticator
-