org.alfresco.web.sharepoint.auth
Class AbstractAuthenticationHandler
java.lang.Object
org.alfresco.web.sharepoint.auth.AbstractAuthenticationHandler
- All Implemented Interfaces:
- org.alfresco.repo.management.subsystems.ActivateableBean, AuthenticationHandler
- Direct Known Subclasses:
- BasicAuthenticationHandler, NtlmAuthenticationHandler
public abstract class AbstractAuthenticationHandler
- extends java.lang.Object
- implements AuthenticationHandler, 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
|
Method Summary |
void |
forceClientToPromptLogonDetails(javax.servlet.http.HttpServletResponse response)
Send to user response with http status 401 |
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 |
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 |
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
AbstractAuthenticationHandler
public AbstractAuthenticationHandler()
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
forceClientToPromptLogonDetails
public void forceClientToPromptLogonDetails(javax.servlet.http.HttpServletResponse response)
- Description copied from interface:
AuthenticationHandler
- Send to user response with http status 401
- Specified by:
forceClientToPromptLogonDetails
in interface AuthenticationHandler
- Parameters:
response
- http response
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.