public final class CollectingAuthenticationErrorCallback extends Object implements AuthenticationErrorCallback
Constructor and Description |
---|
CollectingAuthenticationErrorCallback() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Exception e)
This method will be called with the authentication exception in
case there is a problem with the authentication.
|
Exception |
getError() |
boolean |
hasError()
Check whether this callback has collected an error.
|
public CollectingAuthenticationErrorCallback()
public void execute(Exception e)
AuthenticationErrorCallback
execute
in interface AuthenticationErrorCallback
e
- the exception that was caught in the authentication methodpublic Exception getError()
public boolean hasError()
true
if an error has been collected, false
otherwise.