public class ForwardAuthenticationSuccessHandler extends Object implements AuthenticationSuccessHandler
Forward Authentication Success Handler
| Constructor and Description |
|---|
ForwardAuthenticationSuccessHandler(String forwardUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication)
Called when a user has been successfully authenticated.
|
public ForwardAuthenticationSuccessHandler(String forwardUrl)
forwardUrl - public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication)
throws IOException,
javax.servlet.ServletException
AuthenticationSuccessHandleronAuthenticationSuccess in interface AuthenticationSuccessHandlerrequest - the request which caused the successful authenticationresponse - the responseauthentication - the Authentication object which was created during
the authentication process.IOExceptionjavax.servlet.ServletException