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.
|
String getUsername()
getUsername
in interface PasswordCredentials
void setUsername(String userName)
setUsername
in interface PasswordCredentials
userName
- The user name. May be null.String getPassword()
getPassword
in interface PasswordCredentials
void setPassword(String password)
setPassword
in interface PasswordCredentials
password
- The password. May be null.