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