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