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,
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, Authentication authentication) throws 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.IOException
javax.servlet.ServletException