Class ForwardAuthenticationSuccessHandler
- java.lang.Object
-
- org.springframework.security.web.authentication.ForwardAuthenticationSuccessHandler
-
- All Implemented Interfaces:
AuthenticationSuccessHandler
public class ForwardAuthenticationSuccessHandler extends java.lang.Object implements AuthenticationSuccessHandler
Forward Authentication Success Handler
- Since:
- 4.1
-
-
Constructor Summary
Constructors Constructor Description ForwardAuthenticationSuccessHandler(java.lang.String forwardUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.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, wait
-
Methods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess
-
-
-
-
Method Detail
-
onAuthenticationSuccess
public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Authentication authentication) throws java.io.IOException, javax.servlet.ServletException
Description copied from interface:AuthenticationSuccessHandler
Called when a user has been successfully authenticated.- Specified by:
onAuthenticationSuccess
in interfaceAuthenticationSuccessHandler
- Parameters:
request
- the request which caused the successful authenticationresponse
- the responseauthentication
- the Authentication object which was created during the authentication process.- Throws:
java.io.IOException
javax.servlet.ServletException
-
-