|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.resource.SVNBasicAuthenticationManager
@ThreadSafe public class SVNBasicAuthenticationManager
Authentication manager for SVN resources.
Nested Class Summary | |
---|---|
private class |
SVNBasicAuthenticationManager.BasicProxyManager
Basic implementation of ISVNProxyManager . |
Field Summary | |
---|---|
private Map<String,org.tmatesoft.svn.core.auth.SVNAuthentication> |
authenticationMethods
User authentication mechanisms. |
private int |
connectionTimeout
Network connection timeout in milliseconds. |
private org.slf4j.Logger |
log
Class logger. |
private SVNBasicAuthenticationManager.BasicProxyManager |
proxyManager
HTTP proxy configuration. |
private int |
readTimeout
Read operation timeout in milliseconds. |
private TrustManager |
trustManager
|
Fields inherited from interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager |
---|
PASSWORD, SSH, SSL, USERNAME |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
private void |
setAuthenticationMethods(List<org.tmatesoft.svn.core.auth.SVNAuthentication> authnMethods)
Sets the user authentication methods. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final org.slf4j.Logger log
private int connectionTimeout
private int readTimeout
private TrustManager trustManager
private Map<String,org.tmatesoft.svn.core.auth.SVNAuthentication> authenticationMethods
private final SVNBasicAuthenticationManager.BasicProxyManager proxyManager
Constructor Detail |
---|
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 serverMethod Detail |
---|
public 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
in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
org.tmatesoft.svn.core.SVNException
public void acknowledgeTrustManager(TrustManager manager)
acknowledgeTrustManager
in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
public int getConnectTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)
getConnectTimeout
in interface 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
in interface 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
in interface 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
in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
org.tmatesoft.svn.core.SVNException
public int getReadTimeout(org.tmatesoft.svn.core.io.SVNRepository repository)
getReadTimeout
in interface 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
in interface 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
in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
public void setAuthenticationProvider(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider arg0)
setAuthenticationProvider
in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
private void setAuthenticationMethods(List<org.tmatesoft.svn.core.auth.SVNAuthentication> authnMethods)
authnMethods
- user authentication methods
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |