public interface AuthenticationDriver
Modifier and Type | Field and Description |
---|---|
static String |
AUTHENTICATION_USER |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticateRequest(ServletContext context,
HttpServletRequest request,
HttpServletResponse response)
Authenticate user based on information in http request such as Authorization header or cached session
information.
|
void |
restartLoginChallenge(ServletContext context,
HttpServletRequest request,
HttpServletResponse response)
Send a status 401 response that will restart the log in handshake.
|
static final String AUTHENTICATION_USER
boolean authenticateRequest(ServletContext context, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
context
- the contextrequest
- http requestresponse
- http responsetrue
if authentication was successfulIOException
ServletException
void restartLoginChallenge(ServletContext context, HttpServletRequest request, HttpServletResponse response) throws IOException
context
- the contextrequest
- http requestresponse
- http responseIOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.