public interface VaadinAuthenticationSuccessHandler
Implementations can do whatever they want but typical behaviour would be to control the navigation to the subsequent destination (using a redirect or a forward). For example, after a user has logged in by submitting a login form, the application needs to decide where they should be redirected to afterwards. Other logic may also be included if required.
Vaadin Specific Strategy of AuthenticationSuccessHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationSuccess(Authentication authentication)
Called when a user has been successfully authenticated.
|
void onAuthenticationSuccess(Authentication authentication) throws Exception
authentication - the Authentication object which was created during the authentication process.ExceptionCopyright © 2015. All rights reserved.