public static interface AuthenticationHandler.Callback
authenticate
call.Modifier and Type | Method and Description |
---|---|
void |
abstain()
The authentication has neither passed nor failed.
|
void |
allow()
Authentication passed - allow the authentication request.
|
void |
allow(AuthenticationResult result)
Authentication passed - allow the authentication request with
additional information provided relating to the session (for example,
additional security roles).
|
void |
deny()
Authentication failed - deny the authentication request.
|
void allow()
IllegalStateException
- if another method has already been
invoked on this callbackvoid allow(AuthenticationResult result)
result
- additional information for the sessionIllegalStateException
- if another method has already been
invoked on this callbackvoid abstain()
IllegalStateException
- if another method has already been
invoked on this callbackvoid deny()
IllegalStateException
- if another method has already been
invoked on this callbackCopyright © 2020 Push Technology Ltd. All Rights Reserved.