public class VaadinUrlAuthenticationSuccessHandler extends AbstractVaadinAuthenticationTargetUrlRequestHandler implements VaadinAuthenticationSuccessHandler
parent class.
Must be used as a bean because of autowiring within parent class.AuthenticationSuccessHandler), Gert-Jan Timmer (gjr.timmer@gmail.com) (Vaadin specific implementation), Petter Holmström (petter@vaadin.com)VaadinAuthenticationSuccessHandler.NullHandlerhttp, redirectStrategy| Constructor and Description |
|---|
VaadinUrlAuthenticationSuccessHandler(HttpService http,
VaadinRedirectStrategy redirectStrategy,
String defaultTargetUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearAuthenticationAttributes()
Removes temporary authentication-related data which may have been stored in the session
during the authentication process.
|
void |
onAuthenticationSuccess(Authentication authentication)
Called when a user has been successfully authenticated.
|
determineTargetUrl, getDefaultTargetUrl, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setTargetUrlParameter, setUseRefererpublic VaadinUrlAuthenticationSuccessHandler(HttpService http, VaadinRedirectStrategy redirectStrategy, String defaultTargetUrl)
public void onAuthenticationSuccess(Authentication authentication) throws Exception
VaadinAuthenticationSuccessHandleronAuthenticationSuccess in interface VaadinAuthenticationSuccessHandlerauthentication - the Authentication object which was created during the authentication process.Exceptionprotected final void clearAuthenticationAttributes()
Copyright © 2017. All rights reserved.