Credentials
PasswordCredentials
HttpBuildCacheCredentials
public interface PasswordCredentials extends Credentials
Modifier and Type | Method | Description |
---|---|---|
String |
getPassword() |
Returns the password to use when authenticating.
|
String |
getUsername() |
Returns the user name to use when authenticating.
|
void |
setPassword(String password) |
Sets the password to use when authenticating.
|
void |
setUsername(String userName) |
Sets the user name to use when authenticating.
|
@Nullable String getUsername()
void setUsername(@Nullable String userName)
userName
- The user name. May be null.@Nullable String getPassword()