|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectutils.CowAuthenticationManager
class CowAuthenticationManager
Property Summary | |
---|---|
AuthenticationData |
authenticationData
The underlying AuthenticationData that drives this manager. |
private ISVNAuthenticationManager |
defaultManager
|
File |
svnconfigDirectory
Subversion configuration directory (containing the config and servers files). |
Constructor Summary | |
CowAuthenticationManager(File svnconfigDirectory)
|
Method Summary | |
---|---|
void
|
acknowledgeAuthentication(boolean accepted, String kind, String realm, SVNErrorMessage err, SVNAuthentication auth)
Does nothing, we don't acknowledge authentication. |
void
|
acknowledgeTrustManager(TrustManager tm)
Does nothing, we don't acknowledge trust managers. |
int
|
getConnectTimeout(SVNRepository repository)
Returns connection timeout value. |
private ISVNAuthenticationManager
|
getDefaultAuthManager()
Get the default authentication manager that we delegate to, creating it lazily if required. |
SVNAuthentication
|
getFirstAuthentication(String kind, String realm, SVNURL url)
|
SVNAuthentication
|
getNextAuthentication(String kind, String realm, SVNURL url)
|
ISVNProxyManager
|
getProxyManager(SVNURL url)
Returns the default proxy manager for the given URL. |
int
|
getReadTimeout(SVNRepository repository)
Returns connection timeout value. |
TrustManager
|
getTrustManager(SVNURL url)
Return either the default trust manager for this URL or a dummy "trust-everyone" manager, depending on the authentication data for this wiki. |
boolean
|
isAuthenticationForced()
Returns the value of |
void
|
setAuthenticationProvider(ISVNAuthenticationProvider dummy)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Property Detail |
---|
AuthenticationData authenticationData
private ISVNAuthenticationManager defaultManager
File svnconfigDirectory
Constructor Detail |
---|
public CowAuthenticationManager(File svnconfigDirectory)
Method Detail |
---|
public void acknowledgeAuthentication(boolean accepted, String kind, String realm, SVNErrorMessage err, SVNAuthentication auth)
public void acknowledgeTrustManager(TrustManager tm)
public int getConnectTimeout(SVNRepository repository)
This implementation returns a connection timeout value equal to 60 seconds for http
or https
access operations. If repository
uses a different access protocol,
the return value will be 0.
private ISVNAuthenticationManager getDefaultAuthManager()
public SVNAuthentication getFirstAuthentication(String kind, String realm, SVNURL url)
public SVNAuthentication getNextAuthentication(String kind, String realm, SVNURL url)
public ISVNProxyManager getProxyManager(SVNURL url)
public int getReadTimeout(SVNRepository repository)
This implementation returns a read timeout value equal to 3600 seconds for http
or https
access operations. If repository
uses a different access protocol,
the return value will be 0.
public TrustManager getTrustManager(SVNURL url)
public boolean isAuthenticationForced()
forceAuthentication
from our
AuthenticationData.
public void setAuthenticationProvider(ISVNAuthenticationProvider dummy)
Groovy Documentation