org.alfresco.web.sharepoint.auth
Class AbstractAuthenticationHandler

java.lang.Object
  extended by org.alfresco.web.sharepoint.auth.AbstractAuthenticationHandler
All Implemented Interfaces:
org.alfresco.repo.management.subsystems.ActivateableBean, org.alfresco.repo.webdav.auth.AuthenticationDriver
Direct Known Subclasses:
BasicAuthenticationHandler

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.


Field Summary
protected  org.alfresco.service.cmr.security.AuthenticationService authenticationService
           
protected  org.apache.commons.logging.Log logger
           
protected  org.alfresco.service.cmr.security.PersonService personService
           
 
Constructor Summary
AbstractAuthenticationHandler()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.repo.webdav.auth.AuthenticationDriver
authenticateRequest
 

Field Detail

logger

protected org.apache.commons.logging.Log logger

authenticationService

protected org.alfresco.service.cmr.security.AuthenticationService authenticationService

personService

protected org.alfresco.service.cmr.security.PersonService personService
Constructor Detail

AbstractAuthenticationHandler

public AbstractAuthenticationHandler()
Method Detail

setAuthenticationService

public void setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)

setPersonService

public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)

setActive

public void setActive(boolean isActive)

isActive

public boolean isActive()
Specified by:
isActive in interface org.alfresco.repo.management.subsystems.ActivateableBean

getWWWAuthenticate

public abstract java.lang.String getWWWAuthenticate()
Returns the value of 'WWW-Authenticate' http header that determine what type of authentication to use by client.

Returns:
value

restartLoginChallenge

public void restartLoginChallenge(javax.servlet.ServletContext context,
                                  javax.servlet.http.HttpServletRequest request,
                                  javax.servlet.http.HttpServletResponse response)
Specified by:
restartLoginChallenge in interface org.alfresco.repo.webdav.auth.AuthenticationDriver


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.