|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.artifact.repository.Authentication
public class Authentication
Constructor Summary | |
---|---|
Authentication(String userName,
String password)
|
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 |
---|
public Authentication(String userName, String password)
Method Detail |
---|
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 system
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |