public class BasicAuthenticationHandler extends AbstractAuthenticationHandler implements org.alfresco.repo.webdav.auth.SharepointConstants
BASIC web authentication implementation.
authenticationService, logger, personService| Constructor and Description |
|---|
BasicAuthenticationHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticateRequest(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
java.lang.String |
getWWWAuthenticate()
Returns the value of 'WWW-Authenticate' http header that determine what type of authentication to use by
client.
|
boolean |
isUserAuthenticated(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request)
Returns
true if the user is authenticated and their details are cached in the session |
isActive, restartLoginChallenge, setActive, setAuthenticationService, setPersonServicepublic boolean authenticateRequest(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
authenticateRequest in interface org.alfresco.repo.webdav.auth.AuthenticationDriverjava.io.IOExceptionjavax.servlet.ServletExceptionpublic boolean isUserAuthenticated(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request)
throws java.io.IOException,
javax.servlet.ServletException
true if the user is authenticated and their details are cached in the sessioncontext - the servlet contextrequest - the servlet requesttrue, if the user is authenticatedjava.io.IOException - Signals that an I/O exception has occurred.javax.servlet.ServletException - On other errors.public java.lang.String getWWWAuthenticate()
AbstractAuthenticationHandlergetWWWAuthenticate in class AbstractAuthenticationHandlerCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.