public class AuthenticationEntryPointFailureHandler extends java.lang.Object implements AuthenticationFailureHandler
AuthenticationEntryPoint into a AuthenticationFailureHandler| Constructor and Description |
|---|
AuthenticationEntryPointFailureHandler(AuthenticationEntryPoint authenticationEntryPoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthenticationException exception)
Called when an authentication attempt fails.
|
public AuthenticationEntryPointFailureHandler(AuthenticationEntryPoint authenticationEntryPoint)
public void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthenticationException exception)
throws java.io.IOException,
javax.servlet.ServletException
AuthenticationFailureHandleronAuthenticationFailure in interface AuthenticationFailureHandlerrequest - the request during which the authentication attempt occurred.response - the response.exception - the exception which was thrown to reject the authentication
request.java.io.IOExceptionjavax.servlet.ServletException