public class Base64AuthenticationHandler extends Object implements AuthenticationHandler
Constructor and Description |
---|
Base64AuthenticationHandler() |
Modifier and Type | Method and Description |
---|---|
LoginContext |
handleAuthentication(HttpServletRequest request,
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.
|
public void init(Map<String,String> properties)
AuthenticationHandler
init
in interface AuthenticationHandler
public LoginContext handleAuthentication(HttpServletRequest request, HttpServletResponse response) throws LoginException
AuthenticationHandler
LoginException
and the implementation must
finish the request by correctly responding to the client or redirecting
to another page - through the given response object.handleAuthentication
in interface AuthenticationHandler
request
- the http requestresponse
- the http responseLoginException
- if authentication failed.Copyright © 2011 Nuxeo SA. All Rights Reserved.