public class VaadinUrlAuthenticationSuccessHandler extends AbstractVaadinAuthenticationTargetUrlRequestHandler implements VaadinAuthenticationSuccessHandler
The logic used is that of the 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)http| Constructor and Description |
|---|
VaadinUrlAuthenticationSuccessHandler() |
VaadinUrlAuthenticationSuccessHandler(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.
|
afterPropertiesSet, determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseRefererpublic VaadinUrlAuthenticationSuccessHandler()
public VaadinUrlAuthenticationSuccessHandler(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 © 2015. All rights reserved.