Credentials
public interface PasswordCredentials extends Credentials
Modifier and Type | Method | 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()
void setUsername(String userName)
userName
- The user name. May be null.String getPassword()
void setPassword(String password)
password
- The password. May be null.