public class BasicHttpAuthenticatorFactory.BasicHttpAuthenticator extends Object implements org.springframework.extensions.webscripts.Authenticator
Modifier and Type | Field and 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 and Description |
---|
BasicHttpAuthenticator(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req,
org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res,
AuthenticationListener listener)
Construct
|
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(org.springframework.extensions.webscripts.Description.RequiredAuthentication required,
boolean isGuest) |
boolean |
emptyCredentials() |
protected org.springframework.extensions.webscripts.servlet.WebScriptServletRequest servletReq
protected org.springframework.extensions.webscripts.servlet.WebScriptServletResponse servletRes
protected String authorization
protected String ticket
protected AuthenticationListener listener
public BasicHttpAuthenticator(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res, AuthenticationListener listener)
req
- WebScriptServletRequestres
- WebScriptServletResponselistener
- AuthenticationListenerpublic boolean authenticate(org.springframework.extensions.webscripts.Description.RequiredAuthentication required, boolean isGuest)
authenticate
in interface org.springframework.extensions.webscripts.Authenticator
public boolean emptyCredentials()
emptyCredentials
in interface org.springframework.extensions.webscripts.Authenticator
Copyright © 2005–2017 Alfresco Software. All rights reserved.