public final class ScmCredentials extends Object
| Constructor and Description |
|---|
ScmCredentials(SettingsDecrypter settingsDecrypter,
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(SettingsDecrypter settingsDecrypter, org.apache.maven.settings.Settings settings, String userName, String password, String privateKey, String passphrase)
settingsDecrypter - a Helper to decrypt encrypted passwords. May be
null if no decryption is required.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-2014. All Rights Reserved.