public static final class AuthenticateCallback.Action extends AsyncCallbackAction<Response>
AuthenticateCallback.| Constructor and Description |
|---|
Action(java.util.function.Consumer<Response> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(java.lang.String userName,
java.lang.String password)
Notifies the engine that the authentication should be performed with the particular
userName and password. |
void |
cancel()
Notifies the engine that the authentication should be canceled.
|
isClosedpublic void authenticate(java.lang.String userName,
java.lang.String password)
userName and password.userName - the username to use for authenticatingpassword - the password to use for authenticatingjava.lang.IllegalArgumentException - when userName is empty or blankjava.lang.IllegalArgumentException - when password is empty or blankpublic void cancel()