Constructor and Description |
---|
PlainAuthenticateCallback(char[] password)
Creates a callback with the password provided by the client
|
Modifier and Type | Method and Description |
---|---|
boolean |
authenticated()
Returns true if client password matches expected password, false otherwise.
|
void |
authenticated(boolean authenticated)
Sets the authenticated state.
|
char[] |
password()
Returns the password provided by the client during SASL/PLAIN authentication
|
public PlainAuthenticateCallback(char[] password)
password
- The password provided by the client during SASL/PLAIN authenticationpublic char[] password()
public boolean authenticated()
public void authenticated(boolean authenticated)
authenticated
- true indicates successful authentication