Package org.omegat.core.team2.impl
Class SVNAuthenticationManager
- java.lang.Object
-
- org.omegat.core.team2.impl.SVNAuthenticationManager
-
- All Implemented Interfaces:
org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
public class SVNAuthenticationManager extends java.lang.Object implements org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
Authentication manager for SVN. See details about authentication at the http://wiki.svnkit.com/Authentication. Authentication manager created for each repository instance. Only username+password authentication supported. Proxy not supported for https:// repositories.
-
-
Constructor Summary
Constructors Constructor Description SVNAuthenticationManager(java.lang.String repoUrl, java.lang.String predefinedUser, java.lang.String predefinedPass, ProjectTeamSettings teamSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acknowledgeAuthentication(boolean accepted, java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNErrorMessage errorMessage, org.tmatesoft.svn.core.auth.SVNAuthentication authentication)
void
acknowledgeTrustManager(javax.net.ssl.TrustManager manager)
int
getConnectTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)
org.tmatesoft.svn.core.auth.SVNAuthentication
getFirstAuthentication(java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNURL url)
org.tmatesoft.svn.core.auth.SVNAuthentication
getNextAuthentication(java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNURL url)
org.tmatesoft.svn.core.auth.ISVNProxyManager
getProxyManager(org.tmatesoft.svn.core.SVNURL url)
int
getReadTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)
javax.net.ssl.TrustManager
getTrustManager(org.tmatesoft.svn.core.SVNURL url)
boolean
isAuthenticationForced()
void
setAuthenticationProvider(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider provider)
-
-
-
Constructor Detail
-
SVNAuthenticationManager
public SVNAuthenticationManager(java.lang.String repoUrl, java.lang.String predefinedUser, java.lang.String predefinedPass, ProjectTeamSettings teamSettings)
-
-
Method Detail
-
acknowledgeAuthentication
public void acknowledgeAuthentication(boolean accepted, java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNErrorMessage errorMessage, org.tmatesoft.svn.core.auth.SVNAuthentication authentication) throws org.tmatesoft.svn.core.SVNException
- Specified by:
acknowledgeAuthentication
in interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
- Throws:
org.tmatesoft.svn.core.SVNException
-
acknowledgeTrustManager
public void acknowledgeTrustManager(javax.net.ssl.TrustManager manager)
- Specified by:
acknowledgeTrustManager
in interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
-
getConnectTimeout
public int getConnectTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)
- Specified by:
getConnectTimeout
in interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
-
getReadTimeout
public int getReadTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)
- Specified by:
getReadTimeout
in interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
-
getFirstAuthentication
public org.tmatesoft.svn.core.auth.SVNAuthentication getFirstAuthentication(java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNURL url) throws org.tmatesoft.svn.core.SVNException
- Specified by:
getFirstAuthentication
in interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
- Throws:
org.tmatesoft.svn.core.SVNException
-
getNextAuthentication
public org.tmatesoft.svn.core.auth.SVNAuthentication getNextAuthentication(java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNURL url) throws org.tmatesoft.svn.core.SVNException
- Specified by:
getNextAuthentication
in interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
- Throws:
org.tmatesoft.svn.core.SVNException
-
getProxyManager
public org.tmatesoft.svn.core.auth.ISVNProxyManager getProxyManager(org.tmatesoft.svn.core.SVNURL url) throws org.tmatesoft.svn.core.SVNException
- Specified by:
getProxyManager
in interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
- Throws:
org.tmatesoft.svn.core.SVNException
-
getTrustManager
public javax.net.ssl.TrustManager getTrustManager(org.tmatesoft.svn.core.SVNURL url) throws org.tmatesoft.svn.core.SVNException
- Specified by:
getTrustManager
in interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
- Throws:
org.tmatesoft.svn.core.SVNException
-
isAuthenticationForced
public boolean isAuthenticationForced()
- Specified by:
isAuthenticationForced
in interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
-
setAuthenticationProvider
public void setAuthenticationProvider(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider provider)
- Specified by:
setAuthenticationProvider
in interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
-
-