| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Boolean | Returns: The authentication result - ifnull then exception was handled internally and
authentication is still in progressThe received buffer, ServerSession Buffer to be re-used if need to send a password change requestThe session, String ServerSession through which the request was receivedThe username username, String The password password)Invokes the configured |
| public Boolean | doAuth(Buffer buffer, boolean init)
Implements abstract org.
|
| protected Boolean | Returns: Password change and authentication result -null means authentication incomplete -
i.e., handler has sent some extra query.The buffer, ServerSession Buffer to re-use in order to respondThe associated session, String ServerSessionThe username username, String The old password oldPassword, String The new password newPassword)Invoked when the client sends a |
| protected Boolean | Returns: null by default to indicate incomplete authenticationThe received buffer, ServerSession Buffer to be re-used if need to send a password change requestThe session, String ServerSession through which the request was receivedThe username username, String The (rejected) password password, PasswordChangeRequiredException The original thrown exception e)Invoked by |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| UserAuthPassword | back to summary |
|---|---|
| public UserAuthPassword() | |
| checkPassword | back to summary |
|---|---|
| protected Boolean checkPassword(Buffer buffer, ServerSession session, String username, String password) throws Exception Invokes the configured
| |
| doAuth | back to summary |
|---|---|
| public Boolean doAuth(Buffer buffer, boolean init) throws Exception Implements abstract org.
| |
| handleClientPasswordChangeRequest | back to summary |
|---|---|
| protected Boolean handleClientPasswordChangeRequest(Buffer buffer, ServerSession session, String username, String oldPassword, String newPassword) throws Exception Invoked when the client sends a
| |
| handleServerPasswordChangeRequest | back to summary |
|---|---|
| protected Boolean handleServerPasswordChangeRequest(Buffer buffer, ServerSession session, String username, String password, PasswordChangeRequiredException e) throws Exception Invoked by
| |