Class ForwardAuthenticationSuccessHandler
java.lang.Object
org.springframework.security.web.authentication.ForwardAuthenticationSuccessHandler
- All Implemented Interfaces:
 AuthenticationSuccessHandler
public class ForwardAuthenticationSuccessHandler
extends Object
implements AuthenticationSuccessHandler
Forward Authentication Success Handler
- Since:
 - 4.1
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidonAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) Called when a user has been successfully authenticated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess 
- 
Constructor Details
- 
ForwardAuthenticationSuccessHandler
- Parameters:
 forwardUrl-
 
 - 
 - 
Method Details
- 
onAuthenticationSuccess
public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Authentication authentication) throws IOException, jakarta.servlet.ServletException Description copied from interface:AuthenticationSuccessHandlerCalled when a user has been successfully authenticated.- Specified by:
 onAuthenticationSuccessin interfaceAuthenticationSuccessHandler- Parameters:
 request- the request which caused the successful authenticationresponse- the responseauthentication- the Authentication object which was created during the authentication process.- Throws:
 IOExceptionjakarta.servlet.ServletException
 
 -