Schnittstelle PasswordCredentials
- Alle Superschnittstellen:
Credentials,PasswordCredentials
A username/password credentials that can be used to login to password-protected remote repository.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns 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.
-
Methodendetails
-
getUsername
Returns the user name to use when authenticating to this repository.- Angegeben von:
getUsernamein SchnittstellePasswordCredentials- Gibt zurück:
- The user name. May be null.
-
setUsername
Sets the user name to use when authenticating to this repository.- Angegeben von:
setUsernamein SchnittstellePasswordCredentials- Parameter:
userName- The user name. May be null.
-
getPassword
Returns the password to use when authenticating to this repository.- Angegeben von:
getPasswordin SchnittstellePasswordCredentials- Gibt zurück:
- The password. May be null.
-
setPassword
Sets the password to use when authenticating to this repository.- Angegeben von:
setPasswordin SchnittstellePasswordCredentials- Parameter:
password- The password. May be null.
-