| Modifier and Type | Field and Description |
|---|---|
| public static final KeyboardInteractiveAuthenticator | NONE
An authenticator that rejects any attempt to use it |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if responses have been validatedThe session, String ServerSession through which the response was receivedThe username username, List<String> The received responses - Note: it is up to the authenticator to make sure that the
number of responses matches the number of prompts sent in the initial challenge. The
order of the responses matches the order of the prompts sent to the client responses)Called to authenticate the response to the challenge(s) sent previously |
| public InteractiveChallenge | Returns: TheInteractiveChallenge - if null then authentication attempt via
"keyboard-interactive" method is rejectedThe session, String ServerSession through which the request was receivedThe username username, String The language tag lang, String Sub-methods hints sent by the client subMethods)Generates the interactive "challenge" to send to the client |
| NONE | back to summary |
|---|---|
| public static final KeyboardInteractiveAuthenticator NONE An authenticator that rejects any attempt to use it | |
| authenticate | back to summary |
|---|---|
| public boolean authenticate(ServerSession session, String username, List<String> responses) throws Exception Called to authenticate the response to the challenge(s) sent previously
| |
| generateChallenge | back to summary |
|---|---|
| public InteractiveChallenge generateChallenge(ServerSession session, String username, String lang, String subMethods) throws Exception Generates the interactive "challenge" to send to the client
| |