public final class ScmCredentials extends Object
| Constructor and Description |
|---|
ScmCredentials(org.apache.maven.settings.Settings settings,
String userName,
String password,
String privateKey,
String passphrase)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureByServer(String host)
Fetches the server information from the settings for the specified host.
|
String |
getPassPhrase()
Returns the pass phrase (used by java svn).
|
String |
getPassword()
Returns the user password (used by svn and starteam protocol).
|
String |
getPrivateKey()
Returns the private key (used by java svn).
|
String |
getUserName()
Returns the user name (used by svn and starteam protocol).
|
public ScmCredentials(org.apache.maven.settings.Settings settings,
String userName,
String password,
String privateKey,
String passphrase)
settings - the settings to fetch SCM information.userName - the user name (used by svn and starteam protocol).password - the user password (used by svn and starteam protocol).privateKey - the private key (used by java svn).passphrase - the passphrase (used by java svn).public String getUserName()
public String getPassword()
public String getPrivateKey()
public String getPassPhrase()
public void configureByServer(String host)
host - the host whose access information is fetched from the settings
file.Copyright © 2006–2013. All rights reserved.