public abstract class UsernamePasswordAuthenticator extends Authenticator
| Constructor and Description |
|---|
UsernamePasswordAuthenticator(boolean acceptNoAuthMode) |
| Modifier and Type | Method and Description |
|---|---|
byte |
accept(byte[] authTypes) |
boolean |
validate(byte[] username,
byte[] password) |
abstract boolean |
validate(String username,
String password) |
public UsernamePasswordAuthenticator(boolean acceptNoAuthMode)
public byte accept(byte[] authTypes)
accept in class Authenticatorpublic boolean validate(byte[] username,
byte[] password)
validate in class AuthenticatorCopyright © 2019–2024. All rights reserved.