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