Class BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
- java.lang.Object
-
- org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
-
- All Implemented Interfaces:
org.springframework.extensions.webscripts.Authenticator
- Direct Known Subclasses:
RemoteUserAuthenticatorFactory.RemoteUserAuthenticator
- Enclosing class:
- BasicHttpAuthenticatorFactory
public class BasicHttpAuthenticatorFactory.BasicHttpAuthenticator extends Object implements org.springframework.extensions.webscripts.Authenticator
HTTP Basic Authentication- Author:
- davidc
-
-
Field Summary
Fields Modifier and Type Field Description protected String
authorization
protected AuthenticationListener
listener
protected org.springframework.extensions.webscripts.servlet.WebScriptServletRequest
servletReq
protected org.springframework.extensions.webscripts.servlet.WebScriptServletResponse
servletRes
protected String
ticket
-
Constructor Summary
Constructors Constructor Description BasicHttpAuthenticator(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res, AuthenticationListener listener)
Construct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
authenticate(org.springframework.extensions.webscripts.Description.RequiredAuthentication required, boolean isGuest)
boolean
emptyCredentials()
-
-
-
Field Detail
-
servletReq
protected org.springframework.extensions.webscripts.servlet.WebScriptServletRequest servletReq
-
servletRes
protected org.springframework.extensions.webscripts.servlet.WebScriptServletResponse servletRes
-
authorization
protected String authorization
-
ticket
protected String ticket
-
listener
protected AuthenticationListener listener
-
-
Constructor Detail
-
BasicHttpAuthenticator
public BasicHttpAuthenticator(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res, AuthenticationListener listener)
Construct- Parameters:
req
- WebScriptServletRequestres
- WebScriptServletResponselistener
- AuthenticationListener
-
-
Method Detail
-
authenticate
public boolean authenticate(org.springframework.extensions.webscripts.Description.RequiredAuthentication required, boolean isGuest)
- Specified by:
authenticate
in interfaceorg.springframework.extensions.webscripts.Authenticator
-
emptyCredentials
public boolean emptyCredentials()
- Specified by:
emptyCredentials
in interfaceorg.springframework.extensions.webscripts.Authenticator
-
-