@FunctionalInterface public interface ListenerPasswordAuthenticatorDelegate
ListenerPasswordAuthenticator
to realize
specific authentication strategies.Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(String username,
char[] password)
Authenticate a client based on the passed credentials.
|
boolean authenticate(@NonNull String username, @NonNull char[] password)
username
- client supplied usernamepassword
- client supplied password