org.apache.maven.wagon.authentication
Class AuthenticationInfo

java.lang.Object
  extended by org.apache.maven.wagon.authentication.AuthenticationInfo
All Implemented Interfaces:
Serializable

public class AuthenticationInfo
extends Object
implements Serializable

This class holds the set of properties used when instance of the Wagon will use during login operation.

Version:
$Id: AuthenticationInfo.java 682051 2008-08-02 21:29:38Z hboutemy $
Author:
Michal Maczka
See Also:
Serialized Form

Constructor Summary
AuthenticationInfo()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationInfo

public AuthenticationInfo()
Method Detail

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.

Returns:
passphrase of the private key file

setPassphrase

public void setPassphrase(String passphrase)
Set the passphrase of the private key file.

Parameters:
passphrase - passphrase of the private key file

getPrivateKey

public String getPrivateKey()
Get the absolute path to the private key file.

Returns:
absolute path to private key

setPrivateKey

public void setPrivateKey(String privateKey)
Set the absolute path to private key file.

Parameters:
privateKey - path to private key in local file system

getPassword

public String getPassword()
Get the user's password which is used when connecting to the repository.

Returns:
password of user

setPassword

public void setPassword(String password)
Set the user's password which is used when connecting to the repository.

Parameters:
password - password of the user

getUserName

public String getUserName()
Get the username used to access the repository.

Returns:
username at repository

setUserName

public void setUserName(String userName)
Set username used to access the repository.

Parameters:
userName - the username used to access repository


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.