public class Authentication extends Object
Constructor and Description |
---|
Authentication(String userName,
String password) |
Modifier and Type | Method and Description |
---|---|
String |
getPassphrase()
Get the passphrase of the private key file.
|
String |
getPassword()
Get the user's password which is used when connecting to the repository.
|
String |
getPrivateKey()
Get the absolute path to the private key file.
|
String |
getUsername()
Get the username used to access the repository.
|
void |
setPassphrase(String passphrase)
Set the passphrase of the private key file.
|
void |
setPassword(String password)
Set the user's password which is used when connecting to the repository.
|
void |
setPrivateKey(String privateKey)
Set the absolute path to private key file.
|
void |
setUsername(String userName)
Set username used to access the repository.
|
public String getPassword()
public void setPassword(String password)
password
- password of the userpublic String getUsername()
public void setUsername(String userName)
userName
- the username used to access repositorypublic String getPassphrase()
public void setPassphrase(String passphrase)
passphrase
- passphrase of the private key filepublic String getPrivateKey()
public void setPrivateKey(String privateKey)
privateKey
- path to private key in local file systemCopyright © 2001–2023 The Apache Software Foundation. All rights reserved.