public class Authentication
extends java.lang.Object
| Constructor | Description |
|---|---|
Authentication(java.lang.String userName,
java.lang.String password) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getPassphrase() |
Get the passphrase of the private key file.
|
java.lang.String |
getPassword() |
Get the user's password which is used when connecting to the repository.
|
java.lang.String |
getPrivateKey() |
Get the absolute path to the private key file.
|
java.lang.String |
getUsername() |
Get the username used to access the repository.
|
void |
setPassphrase(java.lang.String passphrase) |
Set the passphrase of the private key file.
|
void |
setPassword(java.lang.String password) |
Set the user's password which is used when connecting to the repository.
|
void |
setPrivateKey(java.lang.String privateKey) |
Set the absolute path to private key file.
|
void |
setUsername(java.lang.String userName) |
Set username used to access the repository.
|
public Authentication(java.lang.String userName,
java.lang.String password)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - password of the userpublic java.lang.String getUsername()
public void setUsername(java.lang.String userName)
userName - the username used to access repositorypublic java.lang.String getPassphrase()
public void setPassphrase(java.lang.String passphrase)
passphrase - passphrase of the private key filepublic java.lang.String getPrivateKey()
public void setPrivateKey(java.lang.String privateKey)
privateKey - path to private key in local file system