public interface AuthenticationHandler
| Modifier and Type | Method and Description |
|---|---|
LoginContext |
handleAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle the authentication if the request contains any known authentication data.
|
void |
init(Map<String,String> properties)
Initialize this handler given a property map.
|
void init(Map<String,String> properties)
properties - LoginContext handleAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws LoginException
LoginException
and the implementation must finish the request by correctly responding to the client or redirecting to
another page - through the given response object.request - the http requestresponse - the http responseLoginException - if authentication failed.Copyright © 2017 Nuxeo. All rights reserved.