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