public class ForwardAuthenticationFailureHandler extends java.lang.Object implements AuthenticationFailureHandler
Forward Authentication Failure Handler
Constructor and Description |
---|
ForwardAuthenticationFailureHandler(java.lang.String forwardUrl) |
Modifier and Type | Method and Description |
---|---|
void |
onAuthenticationFailure(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException exception)
Called when an authentication attempt fails.
|
public ForwardAuthenticationFailureHandler(java.lang.String forwardUrl)
forwardUrl
- public void onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response, AuthenticationException exception) throws java.io.IOException, ServletException
AuthenticationFailureHandler
onAuthenticationFailure
in interface AuthenticationFailureHandler
request
- the request during which the authentication attempt occurred.response
- the response.exception
- the exception which was thrown to reject the authentication
request.java.io.IOException
ServletException