Class ForwardAuthenticationFailureHandler
java.lang.Object
org.springframework.security.web.authentication.ForwardAuthenticationFailureHandler
- All Implemented Interfaces:
- AuthenticationFailureHandler
public class ForwardAuthenticationFailureHandler
extends Object
implements AuthenticationFailureHandler
Forward Authentication Failure Handler
- Since:
- 4.1
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidonAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthenticationException exception) Called when an authentication attempt fails.
- 
Constructor Details- 
ForwardAuthenticationFailureHandler- Parameters:
- forwardUrl-
 
 
- 
- 
Method Details- 
onAuthenticationFailurepublic void onAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthenticationException exception) throws IOException, jakarta.servlet.ServletException Description 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:
- IOException
- jakarta.servlet.ServletException
 
 
-