| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private int | |
| public static final String | |
| private int | |
| private Iterator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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 String | |
| protected boolean | sendAuthDataRequest(ClientSession session, String service)
Implements abstract org.
|
| protected IoWriteFuture | Returns: AnIoWriteFuture that can be used to wait and check on the success/failure of the
request packet being sentThe buffer, ClientSession Buffer to re-use for sending the messageThe target session, String ClientSessionThe previous password oldPassword, String The new password newPassword)Sends the password via a |
| public void | signalAuthMethodFailure(ClientSession
The session, String ClientSessionThe requesting service name service, boolean true if some partial authentication success so farThe serverMethods, Buffer List of authentication methods that can continueThe buffer)Buffer containing the failure message (after having consumed the relevant data
from it)Overrides default org. Signals reception of |
| public void | signalAuthMethodSuccess(ClientSession
The session, String ClientSessionThe requesting service name service, Buffer The buffer)Buffer containing the success message (after having consumed the relevant data from
it)Overrides default org. Signal reception of |
| current | back to summary |
|---|---|
| private String current | |
| 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 | |
| UserAuthPassword | back to summary |
|---|---|
| public UserAuthPassword() | |
| 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.
| |
| resolveAttemptedPassword | back to summary |
|---|---|
| protected String resolveAttemptedPassword(ClientSession session, String service) throws Exception | |
| sendAuthDataRequest | back to summary |
|---|---|
| protected boolean sendAuthDataRequest(ClientSession session, String service) throws Exception Implements abstract org.
| |
| sendPassword | back to summary |
|---|---|
| protected IoWriteFuture sendPassword(Buffer buffer, ClientSession session, String oldPassword, String newPassword) throws Exception Sends the password via a
| |
| signalAuthMethodFailure | back to summary |
|---|---|
| public void signalAuthMethodFailure(ClientSession session, String service, boolean partial, List<String> serverMethods, Buffer buffer) throws Exception Overrides default org. Doc from org. Signals reception of
| |
| signalAuthMethodSuccess | back to summary |
|---|---|
| public void signalAuthMethodSuccess(ClientSession session, String service, Buffer buffer) throws Exception Overrides default org. Doc from org. Signal reception of
| |