public class DefaultAuthenticationHandler extends Object implements AuthenticationHandler
| Constructor and Description |
|---|
DefaultAuthenticationHandler() |
| Modifier and Type | Method and Description |
|---|---|
SessionUser |
authenticateRequest(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String alfrescoContext)
Authenticate user based on information in http request such as Authorization header or else.
|
boolean |
isRequestValidForCurrentUser(javax.servlet.http.HttpServletRequest request,
String alfrescoContext) |
void |
setDelegate(AuthenticationDriver delegate) |
void |
setPathHelper(VtiPathHelper pathHelper) |
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService) |
void |
setVtiHandler(MethodHandler vtiHandler) |
public boolean isRequestValidForCurrentUser(javax.servlet.http.HttpServletRequest request,
String alfrescoContext)
public SessionUser authenticateRequest(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String alfrescoContext) throws IOException, javax.servlet.ServletException
AuthenticationHandlerauthenticateRequest in interface AuthenticationHandlercontext - servlet contextrequest - http requestresponse - http responsealfrescoContext - deployment context of alfresco applicationIOExceptionjavax.servlet.ServletExceptionpublic void setDelegate(AuthenticationDriver delegate)
public void setVtiHandler(MethodHandler vtiHandler)
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
public void setPathHelper(VtiPathHelper pathHelper)
Copyright © 2005–2014 Alfresco Software. All rights reserved.