Credentials, PasswordCredentialspublic interface PasswordCredentials extends PasswordCredentials
| 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.
|
@Nullable String getUsername()
getUsername in interface PasswordCredentialsvoid setUsername(@Nullable
String userName)
setUsername in interface PasswordCredentialsuserName - The user name. May be null.@Nullable String getPassword()
getPassword in interface PasswordCredentialsvoid setPassword(@Nullable
String password)
setPassword in interface PasswordCredentialspassword - The password. May be null.