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