Interface PasswordCredentials
- All Superinterfaces:
- Credentials,- PasswordCredentials
A username/password credentials that can be used to login to password-protected remote repository.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the password to use when authenticating to this repository.Returns the user name to use when authenticating to this repository.voidsetPassword(String password) Sets the password to use when authenticating to this repository.voidsetUsername(String userName) Sets the user name to use when authenticating to this repository.
- 
Method Details- 
getUsernameReturns the user name to use when authenticating to this repository.- Specified by:
- getUsernamein interface- PasswordCredentials
- Returns:
- The user name. May be null.
 
- 
setUsernameSets the user name to use when authenticating to this repository.- Specified by:
- setUsernamein interface- PasswordCredentials
- Parameters:
- userName- The user name. May be null.
 
- 
getPasswordReturns the password to use when authenticating to this repository.- Specified by:
- getPasswordin interface- PasswordCredentials
- Returns:
- The password. May be null.
 
- 
setPasswordSets the password to use when authenticating to this repository.- Specified by:
- setPasswordin interface- PasswordCredentials
- Parameters:
- password- The password. May be null.
 
 
-