Class ForwardAuthenticationFailureHandler
- java.lang.Object
- 
- org.springframework.security.web.authentication.ForwardAuthenticationFailureHandler
 
- 
- All Implemented Interfaces:
- AuthenticationFailureHandler
 
 public class ForwardAuthenticationFailureHandler extends java.lang.Object implements AuthenticationFailureHandler Forward Authentication Failure Handler - Since:
- 4.1
 
- 
- 
Constructor SummaryConstructors Constructor Description ForwardAuthenticationFailureHandler(java.lang.String forwardUrl)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationException exception)Called when an authentication attempt fails.
 
- 
- 
- 
Method Detail- 
onAuthenticationFailurepublic void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationException exception) throws java.io.IOException, javax.servlet.ServletExceptionDescription copied from interface:AuthenticationFailureHandlerCalled when an authentication attempt fails.- Specified by:
- onAuthenticationFailurein interface- AuthenticationFailureHandler
- Parameters:
- request- the request during which the authentication attempt occurred.
- response- the response.
- exception- the exception which was thrown to reject the authentication request.
- Throws:
- java.io.IOException
- javax.servlet.ServletException
 
 
- 
 
-