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 ISVNHostOptions
private java.lang.String getAuthStorageEnabledOption()
protected boolean hasAuthStorageEnabledOption()
public boolean isAuthStorageEnabled()
isAuthStorageEnabled
in interface ISVNHostOptions
public boolean isStorePasswords()
isStorePasswords
in interface ISVNHostOptions
private java.lang.String getStorePlainTextPasswordOption()
public boolean hasStorePlainTextPasswordsOption()
public boolean isStorePlainTextPasswords(java.lang.String realm, SVNAuthentication auth) throws SVNException
isStorePlainTextPasswords
in interface ISVNHostOptions
SVNException
public boolean isStoreSSLClientCertificatePassphrases()
isStoreSSLClientCertificatePassphrases
in interface ISVNHostOptions
private java.lang.String getStorePlainTextPassphraseOption()
protected boolean hasStorePlainTextPassphrasesOption()
public boolean isStorePlainTextPassphrases(java.lang.String realm, SVNAuthentication auth) throws SVNException
isStorePlainTextPassphrases
in interface ISVNHostOptions
SVNException
public java.lang.String getUserName()
getUserName
in interface ISVNHostOptions
public java.lang.String getSSLClientCertFile()
getSSLClientCertFile
in interface ISVNHostOptions
public java.lang.String getSSLClientCertPassword()
getSSLClientCertPassword
in interface ISVNHostOptions
public boolean trustDefaultSSLCertificateAuthority()
trustDefaultSSLCertificateAuthority
in interface ISVNHostOptions
public java.io.File[] getSSLAuthorityFiles()
getSSLAuthorityFiles
in interface ISVNHostOptions
public java.lang.String getProxyHost()
getProxyHost
in interface ISVNHostOptions
public java.lang.String getProxyPort()
getProxyPort
in interface ISVNHostOptions
public java.lang.String getProxyUserName()
getProxyUserName
in interface ISVNHostOptions
public java.lang.String getProxyPassword()
getProxyPassword
in interface ISVNHostOptions
private 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 ISVNHostOptions
public int getConnectTimeout()
getConnectTimeout
in interface ISVNHostOptions
private java.util.Map getHostProperties()
private java.lang.String getGroupName(java.util.Map groups)