public abstract class AbstractAuthenticationHandler
extends java.lang.Object
implements org.alfresco.repo.webdav.auth.AuthenticationDriver, org.alfresco.repo.management.subsystems.ActivateableBean
Abstract implementation of web authentication.
| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.service.cmr.security.AuthenticationService |
authenticationService |
protected org.apache.commons.logging.Log |
logger |
protected org.alfresco.service.cmr.security.PersonService |
personService |
| Constructor and Description |
|---|
AbstractAuthenticationHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getWWWAuthenticate()
Returns the value of 'WWW-Authenticate' http header that determine what type of authentication to use by
client.
|
boolean |
isActive() |
void |
restartLoginChallenge(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setActive(boolean isActive) |
void |
setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService) |
void |
setPersonService(org.alfresco.service.cmr.security.PersonService personService) |
protected org.apache.commons.logging.Log logger
protected org.alfresco.service.cmr.security.AuthenticationService authenticationService
protected org.alfresco.service.cmr.security.PersonService personService
public void setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)
public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
public void setActive(boolean isActive)
public boolean isActive()
isActive in interface org.alfresco.repo.management.subsystems.ActivateableBeanpublic abstract java.lang.String getWWWAuthenticate()
public void restartLoginChallenge(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
restartLoginChallenge in interface org.alfresco.repo.webdav.auth.AuthenticationDriverCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.