public abstract class AuthenticationHandler
extends Object
| Constructor and Description |
|---|
AuthenticationHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
failed(AuthenticationPlatform authPlatform,
AuthenticationException problem)
The login failed callback is invoked when the user fails the authentication
process in the AuthenticationPlatform login method.
|
abstract void |
moreInformationRequested(AuthenticationPlatform authPlatform,
java.util.Map<String,String> loginProperties,
java.util.Map<String,String> additionalProperties)
When the login process needs additional information like
knowledge-based authentication (KBA): during the authentication process the user will be asked to answer at least one "secret" question. |
abstract void |
success(AuthenticationPlatform authPlatform,
long actualAuthMode)
The login success callback is invoked when the user passes the
authentication process in the AuthenticationPlatform login method.
|
public abstract void moreInformationRequested(AuthenticationPlatform authPlatform, java.util.Map<String,String> loginProperties, java.util.Map<String,String> additionalProperties) throws UnsupportedOperationException
authPlatform - authentication platform used in the login processloginProperties - populated login propertiesadditionalProperties - additional properties neededUnsupportedOperationExceptionpublic abstract void success(AuthenticationPlatform authPlatform, long actualAuthMode)
authPlatform - - authentication platform used in the authentication.actualAuthMode - - the mode (local, remote, ...) that was used to authenticate.public abstract void failed(AuthenticationPlatform authPlatform, AuthenticationException problem)
authPlatform - - authentication platform used in the authentication.problem - - all problems are surfaced as an exception