Class DefaultSVNHostOptions
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc.DefaultSVNHostOptions
-
- All Implemented Interfaces:
ISVNHostOptions
- Direct Known Subclasses:
DefaultSVNAuthenticationManager.ExtendedHostOptions
public class DefaultSVNHostOptions extends java.lang.Object implements ISVNHostOptions
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private SVNCompositeConfigFilemyServersFileprivate SVNURLmyURL
-
Constructor Summary
Constructors Constructor Description DefaultSVNHostOptions(SVNCompositeConfigFile serversFile, SVNURL url)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.StringgetAuthStorageEnabledOption()java.util.CollectiongetAuthTypes()intgetConnectTimeout()private java.lang.StringgetGroupName(java.util.Map groups)java.lang.StringgetHost()private java.util.MapgetHostProperties()java.lang.StringgetProtocol()java.lang.StringgetProxyHost()private java.lang.StringgetProxyOption(java.lang.String optionName, java.lang.String systemProperty)java.lang.StringgetProxyPassword()java.lang.StringgetProxyPort()java.lang.StringgetProxyUserName()intgetReadTimeout()private SVNCompositeConfigFilegetServersFile()java.io.File[]getSSLAuthorityFiles()java.lang.StringgetSSLClientCertFile()java.lang.StringgetSSLClientCertPassword()private java.lang.StringgetStorePlainTextPassphraseOption()private java.lang.StringgetStorePlainTextPasswordOption()java.lang.StringgetUserName()protected booleanhasAuthStorageEnabledOption()protected booleanhasStorePlainTextPassphrasesOption()booleanhasStorePlainTextPasswordsOption()private static booleanhostExceptedFromProxy(java.lang.String host, java.util.Map properties)booleanisAuthStorageEnabled()booleanisStorePasswords()booleanisStorePlainTextPassphrases(java.lang.String realm, SVNAuthentication auth)booleanisStorePlainTextPasswords(java.lang.String realm, SVNAuthentication auth)booleanisStoreSSLClientCertificatePassphrases()booleantrustDefaultSSLCertificateAuthority()
-
-
-
Field Detail
-
myServersFile
private final SVNCompositeConfigFile myServersFile
-
myURL
private final SVNURL myURL
-
-
Constructor Detail
-
DefaultSVNHostOptions
public DefaultSVNHostOptions(SVNCompositeConfigFile serversFile, SVNURL url)
-
-
Method Detail
-
getServersFile
private SVNCompositeConfigFile getServersFile()
-
getHost
public java.lang.String getHost()
-
getProtocol
public java.lang.String getProtocol()
-
getAuthTypes
public java.util.Collection getAuthTypes()
- Specified by:
getAuthTypesin interfaceISVNHostOptions
-
getAuthStorageEnabledOption
private java.lang.String getAuthStorageEnabledOption()
-
hasAuthStorageEnabledOption
protected boolean hasAuthStorageEnabledOption()
-
isAuthStorageEnabled
public boolean isAuthStorageEnabled()
- Specified by:
isAuthStorageEnabledin interfaceISVNHostOptions
-
isStorePasswords
public boolean isStorePasswords()
- Specified by:
isStorePasswordsin interfaceISVNHostOptions
-
getStorePlainTextPasswordOption
private java.lang.String getStorePlainTextPasswordOption()
-
hasStorePlainTextPasswordsOption
public boolean hasStorePlainTextPasswordsOption()
-
isStorePlainTextPasswords
public boolean isStorePlainTextPasswords(java.lang.String realm, SVNAuthentication auth) throws SVNException- Specified by:
isStorePlainTextPasswordsin interfaceISVNHostOptions- Throws:
SVNException
-
isStoreSSLClientCertificatePassphrases
public boolean isStoreSSLClientCertificatePassphrases()
- Specified by:
isStoreSSLClientCertificatePassphrasesin interfaceISVNHostOptions
-
getStorePlainTextPassphraseOption
private java.lang.String getStorePlainTextPassphraseOption()
-
hasStorePlainTextPassphrasesOption
protected boolean hasStorePlainTextPassphrasesOption()
-
isStorePlainTextPassphrases
public boolean isStorePlainTextPassphrases(java.lang.String realm, SVNAuthentication auth) throws SVNException- Specified by:
isStorePlainTextPassphrasesin interfaceISVNHostOptions- Throws:
SVNException
-
getUserName
public java.lang.String getUserName()
- Specified by:
getUserNamein interfaceISVNHostOptions
-
getSSLClientCertFile
public java.lang.String getSSLClientCertFile()
- Specified by:
getSSLClientCertFilein interfaceISVNHostOptions
-
getSSLClientCertPassword
public java.lang.String getSSLClientCertPassword()
- Specified by:
getSSLClientCertPasswordin interfaceISVNHostOptions
-
trustDefaultSSLCertificateAuthority
public boolean trustDefaultSSLCertificateAuthority()
- Specified by:
trustDefaultSSLCertificateAuthorityin interfaceISVNHostOptions
-
getSSLAuthorityFiles
public java.io.File[] getSSLAuthorityFiles()
- Specified by:
getSSLAuthorityFilesin interfaceISVNHostOptions
-
getProxyHost
public java.lang.String getProxyHost()
- Specified by:
getProxyHostin interfaceISVNHostOptions
-
getProxyPort
public java.lang.String getProxyPort()
- Specified by:
getProxyPortin interfaceISVNHostOptions
-
getProxyUserName
public java.lang.String getProxyUserName()
- Specified by:
getProxyUserNamein interfaceISVNHostOptions
-
getProxyPassword
public java.lang.String getProxyPassword()
- Specified by:
getProxyPasswordin interfaceISVNHostOptions
-
getProxyOption
private java.lang.String getProxyOption(java.lang.String optionName, java.lang.String systemProperty)
-
hostExceptedFromProxy
private static boolean hostExceptedFromProxy(java.lang.String host, java.util.Map properties)
-
getReadTimeout
public int getReadTimeout()
- Specified by:
getReadTimeoutin interfaceISVNHostOptions
-
getConnectTimeout
public int getConnectTimeout()
- Specified by:
getConnectTimeoutin interfaceISVNHostOptions
-
getHostProperties
private java.util.Map getHostProperties()
-
getGroupName
private java.lang.String getGroupName(java.util.Map groups)
-
-