public class DefaultSVNHostOptions extends java.lang.Object implements ISVNHostOptions
| Modifier and Type | Field and Description |
|---|---|
private SVNCompositeConfigFile |
myServersFile |
private SVNURL |
myURL |
| Constructor and Description |
|---|
DefaultSVNHostOptions(SVNCompositeConfigFile serversFile,
SVNURL url) |
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
getAuthStorageEnabledOption() |
java.util.Collection |
getAuthTypes() |
int |
getConnectTimeout() |
private java.lang.String |
getGroupName(java.util.Map groups) |
java.lang.String |
getHost() |
private java.util.Map |
getHostProperties() |
java.lang.String |
getProtocol() |
java.lang.String |
getProxyHost() |
private java.lang.String |
getProxyOption(java.lang.String optionName,
java.lang.String systemProperty) |
java.lang.String |
getProxyPassword() |
java.lang.String |
getProxyPort() |
java.lang.String |
getProxyUserName() |
int |
getReadTimeout() |
private SVNCompositeConfigFile |
getServersFile() |
java.io.File[] |
getSSLAuthorityFiles() |
java.lang.String |
getSSLClientCertFile() |
java.lang.String |
getSSLClientCertPassword() |
private java.lang.String |
getStorePlainTextPassphraseOption() |
private java.lang.String |
getStorePlainTextPasswordOption() |
java.lang.String |
getUserName() |
protected boolean |
hasAuthStorageEnabledOption() |
protected boolean |
hasStorePlainTextPassphrasesOption() |
boolean |
hasStorePlainTextPasswordsOption() |
private static boolean |
hostExceptedFromProxy(java.lang.String host,
java.util.Map properties) |
boolean |
isAuthStorageEnabled() |
boolean |
isStorePasswords() |
boolean |
isStorePlainTextPassphrases(java.lang.String realm,
SVNAuthentication auth) |
boolean |
isStorePlainTextPasswords(java.lang.String realm,
SVNAuthentication auth) |
boolean |
isStoreSSLClientCertificatePassphrases() |
boolean |
trustDefaultSSLCertificateAuthority() |
private final SVNCompositeConfigFile myServersFile
private final SVNURL myURL
public DefaultSVNHostOptions(SVNCompositeConfigFile serversFile, SVNURL url)
private SVNCompositeConfigFile getServersFile()
public java.lang.String getHost()
public java.lang.String getProtocol()
public java.util.Collection getAuthTypes()
getAuthTypes in interface ISVNHostOptionsprivate java.lang.String getAuthStorageEnabledOption()
protected boolean hasAuthStorageEnabledOption()
public boolean isAuthStorageEnabled()
isAuthStorageEnabled in interface ISVNHostOptionspublic boolean isStorePasswords()
isStorePasswords in interface ISVNHostOptionsprivate java.lang.String getStorePlainTextPasswordOption()
public boolean hasStorePlainTextPasswordsOption()
public boolean isStorePlainTextPasswords(java.lang.String realm,
SVNAuthentication auth)
throws SVNException
isStorePlainTextPasswords in interface ISVNHostOptionsSVNExceptionpublic boolean isStoreSSLClientCertificatePassphrases()
isStoreSSLClientCertificatePassphrases in interface ISVNHostOptionsprivate java.lang.String getStorePlainTextPassphraseOption()
protected boolean hasStorePlainTextPassphrasesOption()
public boolean isStorePlainTextPassphrases(java.lang.String realm,
SVNAuthentication auth)
throws SVNException
isStorePlainTextPassphrases in interface ISVNHostOptionsSVNExceptionpublic java.lang.String getUserName()
getUserName in interface ISVNHostOptionspublic java.lang.String getSSLClientCertFile()
getSSLClientCertFile in interface ISVNHostOptionspublic java.lang.String getSSLClientCertPassword()
getSSLClientCertPassword in interface ISVNHostOptionspublic boolean trustDefaultSSLCertificateAuthority()
trustDefaultSSLCertificateAuthority in interface ISVNHostOptionspublic java.io.File[] getSSLAuthorityFiles()
getSSLAuthorityFiles in interface ISVNHostOptionspublic java.lang.String getProxyHost()
getProxyHost in interface ISVNHostOptionspublic java.lang.String getProxyPort()
getProxyPort in interface ISVNHostOptionspublic java.lang.String getProxyUserName()
getProxyUserName in interface ISVNHostOptionspublic java.lang.String getProxyPassword()
getProxyPassword in interface ISVNHostOptionsprivate java.lang.String getProxyOption(java.lang.String optionName,
java.lang.String systemProperty)
private static boolean hostExceptedFromProxy(java.lang.String host,
java.util.Map properties)
public int getReadTimeout()
getReadTimeout in interface ISVNHostOptionspublic int getConnectTimeout()
getConnectTimeout in interface ISVNHostOptionsprivate java.util.Map getHostProperties()
private java.lang.String getGroupName(java.util.Map groups)