public class Base64AuthenticationHandler extends Object implements AuthenticationHandler
| Constructor and Description | 
|---|
Base64AuthenticationHandler()  | 
| 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. 
 | 
protected void | 
handleLoginFailure(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)  | 
void | 
init(Map<String,String> properties)
Initialize this handler given a property map. 
 | 
protected String[] | 
retrieveBasicLogin(javax.servlet.http.HttpServletRequest httpRequest)  | 
public Base64AuthenticationHandler()
public void init(Map<String,String> properties)
AuthenticationHandlerinit in interface AuthenticationHandlerpublic LoginContext handleAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws LoginException
AuthenticationHandlerLoginException
 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 AuthenticationHandlerrequest - the http requestresponse - the http responseLoginException - if authentication failed.protected String[] retrieveBasicLogin(javax.servlet.http.HttpServletRequest httpRequest)
protected void handleLoginFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Copyright © 2016 Nuxeo SA. All rights reserved.