| Modifier and Type | Field and Description |
|---|---|
| private int | |
| public static final String | |
| private int | |
| private Iterator | |
| private final AtomicBoolean | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| protected String | |
| protected String | |
| protected String | |
| protected String[] | Returns: The response for each prompt - ifnull then the assumption is that some internal
error occurred and no response is sentNote according to RFC4256 the number of responses should be exactly the same as the number of prompts. However, since it is the server's responsibility to enforce this we do not validate the response (other than logging it as a warning...) The interaction name - may be empty name, String The instruction - may be empty instruction, String The language tag - may be empty lang, String[] The prompts - may be empty prompt, boolean[] Whether to echo the response for the prompt or not - same length as the prompts echo)
|
| public void | init(ClientSession
The session, String ClientSessionThe requesting service name service)Overrides org. Implements org.
|
| protected boolean | processAuthDataRequest(ClientSession session, String service, Buffer buffer)
Implements abstract org.
|
| protected boolean | sendAuthDataRequest(ClientSession session, String service)
Implements abstract org.
|
| protected boolean | Returns: Whether to use the password candidate as reply to the promptsThe session, String ClientSession through which the request is receivedThe current password candidate to use password, String The service name name, String The request instruction instruction, String The reported language tag lang, String[] The requested prompts prompt, boolean[] The matching prompts echo flags echo)Checks if we have a candidate password and exactly one prompt is requested with no echo, and the prompt matches a configurable pattern. |
| protected boolean |
| maxAttempts | back to summary |
|---|---|
| private int maxAttempts | |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| nOfAttempts | back to summary |
|---|---|
| private int nOfAttempts | |
| passwords | back to summary |
|---|---|
| private Iterator<String> passwords | |
| requestPending | back to summary |
|---|---|
| private final AtomicBoolean requestPending | |
| wasChallenged | back to summary |
|---|---|
| private boolean wasChallenged | |
| withUserInteraction | back to summary |
|---|---|
| private boolean withUserInteraction | |
| UserAuthKeyboardInteractive | back to summary |
|---|---|
| public UserAuthKeyboardInteractive() | |
| getAuthCommandName | back to summary |
|---|---|
| public static String getAuthCommandName(int cmd) | |
| getCurrentPasswordCandidate | back to summary |
|---|---|
| protected String getCurrentPasswordCandidate() | |
| getExchangeLanguageTag | back to summary |
|---|---|
| protected String getExchangeLanguageTag(ClientSession session) | |
| getExchangeSubMethods | back to summary |
|---|---|
| protected String getExchangeSubMethods(ClientSession session) | |
| getUserResponses | back to summary |
|---|---|
protected String[] getUserResponses(String name, String instruction, String lang, String[] prompt, boolean[] echo)
| |
| init | back to summary |
|---|---|
| public void init(ClientSession session, String service) throws Exception Overrides org. Implements org.
| |
| processAuthDataRequest | back to summary |
|---|---|
| protected boolean processAuthDataRequest(ClientSession session, String service, Buffer buffer) throws Exception Implements abstract org.
| |
| sendAuthDataRequest | back to summary |
|---|---|
| protected boolean sendAuthDataRequest(ClientSession session, String service) throws Exception Implements abstract org.
| |
| useCurrentPassword | back to summary |
|---|---|
| protected boolean useCurrentPassword(ClientSession session, String password, String name, String instruction, String lang, String[] prompt, boolean[] echo) Checks if we have a candidate password and exactly one prompt is requested with no echo, and the prompt matches a configurable pattern.
| |
| verifyTrialsCount | back to summary |
|---|---|
| protected boolean verifyTrialsCount(ClientSession session, String service, int cmd, int nbTrials, int maxAllowed) | |