public final class BasicAuthenticator extends BaseAuthenticator
Constructor and Description |
---|
BasicAuthenticator(String username,
char[] password)
Create a Basic Authenticator.
|
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Deprecated.
Use
getPasswordChars(char[]) |
char[] |
getPasswordChars()
Get the password.
|
String |
getUsername() |
public BasicAuthenticator(@NonNull String username, @NonNull char[] password)
@NonNull public String getUsername()
@Deprecated @NonNull public String getPassword()
getPasswordChars(char[])
@NonNull public char[] getPasswordChars()