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.ISVNAuthenticationManagerAuthentication 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 voidacknowledgeAuthentication(boolean accepted, java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNErrorMessage errorMessage, org.tmatesoft.svn.core.auth.SVNAuthentication authentication)voidacknowledgeTrustManager(javax.net.ssl.TrustManager manager)intgetConnectTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)org.tmatesoft.svn.core.auth.SVNAuthenticationgetFirstAuthentication(java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNURL url)org.tmatesoft.svn.core.auth.SVNAuthenticationgetNextAuthentication(java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNURL url)org.tmatesoft.svn.core.auth.ISVNProxyManagergetProxyManager(org.tmatesoft.svn.core.SVNURL url)intgetReadTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)javax.net.ssl.TrustManagergetTrustManager(org.tmatesoft.svn.core.SVNURL url)booleanisAuthenticationForced()voidsetAuthenticationProvider(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:
acknowledgeAuthenticationin interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager- Throws:
org.tmatesoft.svn.core.SVNException
-
acknowledgeTrustManager
public void acknowledgeTrustManager(javax.net.ssl.TrustManager manager)
- Specified by:
acknowledgeTrustManagerin interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
-
getConnectTimeout
public int getConnectTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)
- Specified by:
getConnectTimeoutin interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
-
getReadTimeout
public int getReadTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)
- Specified by:
getReadTimeoutin 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:
getFirstAuthenticationin 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:
getNextAuthenticationin 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:
getProxyManagerin 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:
getTrustManagerin interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager- Throws:
org.tmatesoft.svn.core.SVNException
-
isAuthenticationForced
public boolean isAuthenticationForced()
- Specified by:
isAuthenticationForcedin interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
-
setAuthenticationProvider
public void setAuthenticationProvider(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider provider)
- Specified by:
setAuthenticationProviderin interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager
-
-