public class ForwardAuthenticationFailureHandler extends Object implements AuthenticationFailureHandler
Forward Authentication Failure Handler
Constructor and Description |
---|
ForwardAuthenticationFailureHandler(String forwardUrl) |
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 ForwardAuthenticationFailureHandler(String forwardUrl)
forwardUrl
- public void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationException exception) throws IOException, javax.servlet.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.IOException
javax.servlet.ServletException