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 SVNCompositeConfigFile
myServersFile
private SVNURL
myURL
-
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.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()
-
-
-
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:
getAuthTypes
in interfaceISVNHostOptions
-
getAuthStorageEnabledOption
private java.lang.String getAuthStorageEnabledOption()
-
hasAuthStorageEnabledOption
protected boolean hasAuthStorageEnabledOption()
-
isAuthStorageEnabled
public boolean isAuthStorageEnabled()
- Specified by:
isAuthStorageEnabled
in interfaceISVNHostOptions
-
isStorePasswords
public boolean isStorePasswords()
- Specified by:
isStorePasswords
in 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:
isStorePlainTextPasswords
in interfaceISVNHostOptions
- Throws:
SVNException
-
isStoreSSLClientCertificatePassphrases
public boolean isStoreSSLClientCertificatePassphrases()
- Specified by:
isStoreSSLClientCertificatePassphrases
in 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:
isStorePlainTextPassphrases
in interfaceISVNHostOptions
- Throws:
SVNException
-
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interfaceISVNHostOptions
-
getSSLClientCertFile
public java.lang.String getSSLClientCertFile()
- Specified by:
getSSLClientCertFile
in interfaceISVNHostOptions
-
getSSLClientCertPassword
public java.lang.String getSSLClientCertPassword()
- Specified by:
getSSLClientCertPassword
in interfaceISVNHostOptions
-
trustDefaultSSLCertificateAuthority
public boolean trustDefaultSSLCertificateAuthority()
- Specified by:
trustDefaultSSLCertificateAuthority
in interfaceISVNHostOptions
-
getSSLAuthorityFiles
public java.io.File[] getSSLAuthorityFiles()
- Specified by:
getSSLAuthorityFiles
in interfaceISVNHostOptions
-
getProxyHost
public java.lang.String getProxyHost()
- Specified by:
getProxyHost
in interfaceISVNHostOptions
-
getProxyPort
public java.lang.String getProxyPort()
- Specified by:
getProxyPort
in interfaceISVNHostOptions
-
getProxyUserName
public java.lang.String getProxyUserName()
- Specified by:
getProxyUserName
in interfaceISVNHostOptions
-
getProxyPassword
public java.lang.String getProxyPassword()
- Specified by:
getProxyPassword
in 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:
getReadTimeout
in interfaceISVNHostOptions
-
getConnectTimeout
public int getConnectTimeout()
- Specified by:
getConnectTimeout
in interfaceISVNHostOptions
-
getHostProperties
private java.util.Map getHostProperties()
-
getGroupName
private java.lang.String getGroupName(java.util.Map groups)
-
-