org.apache.maven.artifact.repository
Class Authentication

java.lang.Object
  extended by org.apache.maven.artifact.repository.Authentication

public class Authentication
extends Object


Constructor Summary
Authentication(String userName, String password)
           
 
Method Summary
 String getPassword()
          Get the user's password which is used when connecting to the repository.
 String getUsername()
          Get the username used to access the repository.
 void setPassword(String password)
          Set the user's password which is used when connecting to the repository.
 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

Authentication

public Authentication(String userName,
                      String password)
Method Detail

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 © 2001-2010 The Apache Software Foundation. All Rights Reserved.