@ThreadSafe public class SVNBasicAuthenticationManager extends Object implements org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
コンストラクタと説明 |
---|
SVNBasicAuthenticationManager(List<org.tmatesoft.svn.core.auth.SVNAuthentication> authnMethods)
Constructor.
|
SVNBasicAuthenticationManager(List<org.tmatesoft.svn.core.auth.SVNAuthentication> authnMethods,
String proxyHost,
int proxyPort,
String proxyUser,
String proxyPassword)
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
acknowledgeAuthentication(boolean authnAccepted,
String authnKind,
String authnRealm,
org.tmatesoft.svn.core.SVNErrorMessage error,
org.tmatesoft.svn.core.auth.SVNAuthentication authnMethods) |
void |
acknowledgeTrustManager(TrustManager manager) |
int |
getConnectTimeout(org.tmatesoft.svn.core.io.SVNRepository repository) |
org.tmatesoft.svn.core.auth.SVNAuthentication |
getFirstAuthentication(String authnKind,
String authnRealm,
org.tmatesoft.svn.core.SVNURL repository) |
org.tmatesoft.svn.core.auth.SVNAuthentication |
getNextAuthentication(String authnKind,
String authnRealm,
org.tmatesoft.svn.core.SVNURL respository) |
org.tmatesoft.svn.core.auth.ISVNProxyManager |
getProxyManager(org.tmatesoft.svn.core.SVNURL repository) |
int |
getReadTimeout(org.tmatesoft.svn.core.io.SVNRepository repository) |
TrustManager |
getTrustManager(org.tmatesoft.svn.core.SVNURL respository) |
boolean |
isAuthenticationForced() |
void |
setAuthenticationProvider(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider arg0) |
void |
setConnectionTimeout(int timeout)
Sets the network connection timeout in milliseconds.
|
void |
setReadTimeout(int timeout)
Sets the read operation timeout in milliseconds.
|
void |
setTrustManager(TrustManager manager)
Sets the trust manager used when negotiating SSL/TLS connections.
|
public SVNBasicAuthenticationManager(List<org.tmatesoft.svn.core.auth.SVNAuthentication> authnMethods)
authnMethods
- user authentication methodspublic SVNBasicAuthenticationManager(List<org.tmatesoft.svn.core.auth.SVNAuthentication> authnMethods, String proxyHost, int proxyPort, String proxyUser, String proxyPassword)
authnMethods
- user authentication methodsproxyHost
- host name or IP address of the proxy serverproxyPort
- port of the proxy serverproxyUser
- username used to connect to the proxy serverproxyPassword
- password used to connect to the proxy serverpublic void acknowledgeAuthentication(boolean authnAccepted, String authnKind, String authnRealm, org.tmatesoft.svn.core.SVNErrorMessage error, org.tmatesoft.svn.core.auth.SVNAuthentication authnMethods) throws org.tmatesoft.svn.core.SVNException
acknowledgeAuthentication
インタフェース内 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
org.tmatesoft.svn.core.SVNException
public void acknowledgeTrustManager(TrustManager manager)
acknowledgeTrustManager
インタフェース内 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
public int getConnectTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)
getConnectTimeout
インタフェース内 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
public void setConnectionTimeout(int timeout)
Integer.MAX_VALUE
will be used.timeout
- network connection timeout in millisecondspublic org.tmatesoft.svn.core.auth.SVNAuthentication getFirstAuthentication(String authnKind, String authnRealm, org.tmatesoft.svn.core.SVNURL repository) throws org.tmatesoft.svn.core.SVNException
getFirstAuthentication
インタフェース内 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
org.tmatesoft.svn.core.SVNException
public org.tmatesoft.svn.core.auth.SVNAuthentication getNextAuthentication(String authnKind, String authnRealm, org.tmatesoft.svn.core.SVNURL respository) throws org.tmatesoft.svn.core.SVNException
getNextAuthentication
インタフェース内 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
org.tmatesoft.svn.core.SVNException
public org.tmatesoft.svn.core.auth.ISVNProxyManager getProxyManager(org.tmatesoft.svn.core.SVNURL repository) throws org.tmatesoft.svn.core.SVNException
getProxyManager
インタフェース内 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
org.tmatesoft.svn.core.SVNException
public int getReadTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)
getReadTimeout
インタフェース内 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
public void setReadTimeout(int timeout)
Integer.MAX_VALUE
will be used.timeout
- network connection timeout in millisecondspublic TrustManager getTrustManager(org.tmatesoft.svn.core.SVNURL respository) throws org.tmatesoft.svn.core.SVNException
getTrustManager
インタフェース内 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
org.tmatesoft.svn.core.SVNException
public void setTrustManager(TrustManager manager)
manager
- trust manager used when negotiating SSL/TLS connectionspublic boolean isAuthenticationForced()
isAuthenticationForced
インタフェース内 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
public void setAuthenticationProvider(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider arg0)
setAuthenticationProvider
インタフェース内 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
Copyright © 2012. All Rights Reserved.