public interface VaadinAuthenticationFailureHandler
Typical behaviour might be to redirect the user to the authentication page (in the case of a form login) to
allow them to try again. More sophisticated logic might be implemented depending on the type of the exception.
For example, a CredentialsExpiredException might cause a redirect to a web controller which allowed the
user to change their password.
Vaadin Specific Strategy of AuthenticationFailureHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationFailure(AuthenticationException exception)
Called when an authentication attempt fails.
|
void onAuthenticationFailure(AuthenticationException exception) throws Exception
exception - the exception which was thrown to reject the authentication request.ExceptionCopyright © 2015. All rights reserved.