org.apache.maven.wagon.authentication
Class AuthenticationInfo
java.lang.Object
org.apache.maven.wagon.authentication.AuthenticationInfo
- Serializable
public class AuthenticationInfo
extends java.lang.Object
implements Serializable
This class holds the set of properties used when instance of the Wagon
will use during login opreration.
$Id: AuthenticationInfo.java 162476 2005-04-19 02:49:45Z brett $ 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.
|
getPassphrase
public String getPassphrase()
Get the passphrase of the private key file. The passphrase is used only
when host/protocol supports authentication via exchange of
private/public keys and private key was used for authentication.
- passphrase of the private key file
getPassword
public String getPassword()
Get the user's password which is used when connecting to the repository.
getPrivateKey
public String getPrivateKey()
Get the absolute path to the private key file.
- absolute path to private key
getUserName
public String getUserName()
Get the username used to access the repository.
setPassphrase
public void setPassphrase(String passphrase)
Set the passphrase of the private key file.
passphrase
- passphrase of the private key file
setPassword
public void setPassword(String password)
Set the user's password which is used when connecting to the repository.
password
- password of the user
setPrivateKey
public void setPrivateKey(String privateKey)
Set the absolute path to private key file.
privateKey
- path to private key in local file system
setUserName
public void setUserName(String userName)
Set username used to access the repository.
userName
- the username used to access repository