org.alfresco.web.sharepoint.auth
Interface AuthenticationHandler
- All Known Implementing Classes:
- AbstractAuthenticationHandler, BasicAuthenticationHandler, NtlmAuthenticationHandler
public interface AuthenticationHandler
Sharepoint authentication plugin API
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. |
void |
forceClientToPromptLogonDetails(javax.servlet.http.HttpServletResponse response)
Send to user response with http status 401 |
HEADER_AUTHORIZATION
static final java.lang.String HEADER_AUTHORIZATION
- See Also:
- Constant Field Values
HEADER_WWW_AUTHENTICATE
static final java.lang.String HEADER_WWW_AUTHENTICATE
- See Also:
- Constant Field Values
NTLM_START
static final java.lang.String NTLM_START
- See Also:
- Constant Field Values
BASIC_START
static final java.lang.String BASIC_START
- See Also:
- Constant Field Values
USER_SESSION_ATTRIBUTE
static final java.lang.String USER_SESSION_ATTRIBUTE
- See Also:
- Constant Field Values
authenticateRequest
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.
- Parameters:
request
- http requestresponse
- http responsealfrescoContext
- deployment context of alfresco applicationmapper
- an object capable of determining which users are site members
- Returns:
- SessionUser information about currently loged in user or null.
forceClientToPromptLogonDetails
void forceClientToPromptLogonDetails(javax.servlet.http.HttpServletResponse response)
- Send to user response with http status 401
- Parameters:
response
- http response
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.