public class DefaultAuthenticationHandler extends Object implements AuthenticationHandler
Constructor and Description |
---|
DefaultAuthenticationHandler() |
Modifier and Type | Method and Description |
---|---|
SessionUser |
authenticateRequest(ServletContext context,
HttpServletRequest request,
HttpServletResponse response,
String alfrescoContext)
Authenticate user based on information in http request such as Authorization header or else.
|
boolean |
isRequestValidForCurrentUser(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(HttpServletRequest request, String alfrescoContext)
public SessionUser authenticateRequest(ServletContext context, HttpServletRequest request, HttpServletResponse response, String alfrescoContext) throws IOException, ServletException
AuthenticationHandler
authenticateRequest
in interface AuthenticationHandler
context
- servlet contextrequest
- http requestresponse
- http responsealfrescoContext
- deployment context of alfresco applicationIOException
ServletException
public 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–2017 Alfresco Software. All rights reserved.