A username/password credentials that can be used to login to password-protected remote repository.
Type | Name 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. |
Returns the password to use when authenticating to this repository.
Returns the user name to use when authenticating to this repository.
Sets the password to use when authenticating to this repository.
password
- The password. May be null.Sets the user name to use when authenticating to this repository.
userName
- The user name. May be null.