org.alfresco.web.sharepoint.auth
Class BasicAuthenticationHandler
java.lang.Object
org.alfresco.web.sharepoint.auth.AbstractAuthenticationHandler
org.alfresco.web.sharepoint.auth.BasicAuthenticationHandler
- All Implemented Interfaces:
- org.alfresco.repo.management.subsystems.ActivateableBean, AuthenticationHandler
public class BasicAuthenticationHandler
- extends AbstractAuthenticationHandler
BASIC web authentication implementation.
Method Summary |
org.alfresco.repo.SessionUser |
authenticateRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SiteMemberMapper mapper,
java.lang.String alfrescoContext)
Authenticate user based on information in http request such as Authorization header or else. |
java.lang.String |
getWWWAuthenticate()
Returns the value of 'WWW-Authenticate' http header that determine what type of authentication to use by
client. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicAuthenticationHandler
public BasicAuthenticationHandler()
authenticateRequest
public org.alfresco.repo.SessionUser authenticateRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SiteMemberMapper mapper,
java.lang.String alfrescoContext)
- Description copied from interface:
AuthenticationHandler
- Authenticate user based on information in http request such as Authorization header or else.
- Parameters:
request
- http requestresponse
- http responsemapper
- an object capable of determining which users are site membersalfrescoContext
- deployment context of alfresco application
- Returns:
- SessionUser information about currently loged in user or null.
getWWWAuthenticate
public java.lang.String getWWWAuthenticate()
- Description copied from class:
AbstractAuthenticationHandler
- Returns the value of 'WWW-Authenticate' http header that determine what type of authentication to use by
client.
- Specified by:
getWWWAuthenticate
in class AbstractAuthenticationHandler
- Returns:
- value
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.