public class UserProvidedCredential.AuthenticationManagerImpl
extends org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager
ISVNAuthenticationManager that uses the user provided credential.org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.DumbAuthenticationProvider, org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.ExtendedHostOptions, org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.ExtendedHostOptionsProvider| Constructor and Description |
|---|
AuthenticationManagerImpl(PrintWriter logWriter) |
AuthenticationManagerImpl(hudson.model.TaskListener listener) |
AuthenticationManagerImpl(Writer w) |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledgeAuthentication(boolean accepted,
String kind,
String realm,
org.tmatesoft.svn.core.SVNErrorMessage errorMessage,
org.tmatesoft.svn.core.auth.SVNAuthentication authentication) |
void |
checkIfProtocolCompleted()
Verifies that the expected authentication happened.
|
org.tmatesoft.svn.core.auth.SVNAuthentication |
getFirstAuthentication(String kind,
String realm,
org.tmatesoft.svn.core.SVNURL url) |
org.tmatesoft.svn.core.auth.SVNAuthentication |
getNextAuthentication(String kind,
String realm,
org.tmatesoft.svn.core.SVNURL url)
Getting here means the authentication tried in
getFirstAuthentication(String, String, SVNURL)
didn't work. |
protected void |
onSuccess(String realm,
SubversionSCM.DescriptorImpl.Credential cred)
Called upon a successful acceptance of the credential.
|
acknowledgeTrustManager, createAuthenticationStorageOptions, createCacheAuthenticationProvider, createDefaultAuthenticationProvider, createRuntimeAuthenticationProvider, getAuthenticationProvider, getAuthenticationStorageOptions, getAuthTypes, getConfigDirectory, getConnectTimeout, getDefaultOptions, getDefaultSSHAuthentication, getHostOptionsProvider, getProxyManager, getReadTimeout, getRuntimeAuthStorage, getTrustManager, isAuthenticationForced, isSSLPassphrasePromtSupported, setAuthenticationForced, setAuthenticationProvider, setAuthenticationStorageOptions, setHostOptionsProvider, setInMemoryConfigOptions, setInMemoryServersOptions, setRuntimeStorage, verifyHostKeypublic AuthenticationManagerImpl(PrintWriter logWriter)
public AuthenticationManagerImpl(Writer w)
public AuthenticationManagerImpl(hudson.model.TaskListener listener)
public org.tmatesoft.svn.core.auth.SVNAuthentication getFirstAuthentication(String kind, String realm, org.tmatesoft.svn.core.SVNURL url) throws org.tmatesoft.svn.core.SVNException
getFirstAuthentication in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManagergetFirstAuthentication in class org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManagerorg.tmatesoft.svn.core.SVNExceptionpublic org.tmatesoft.svn.core.auth.SVNAuthentication getNextAuthentication(String kind, String realm, org.tmatesoft.svn.core.SVNURL url) throws org.tmatesoft.svn.core.SVNException
getFirstAuthentication(String, String, SVNURL)
didn't work.getNextAuthentication in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManagergetNextAuthentication in class org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManagerorg.tmatesoft.svn.core.SVNExceptionpublic void acknowledgeAuthentication(boolean accepted,
String kind,
String realm,
org.tmatesoft.svn.core.SVNErrorMessage errorMessage,
org.tmatesoft.svn.core.auth.SVNAuthentication authentication)
throws org.tmatesoft.svn.core.SVNException
acknowledgeAuthentication in interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManageracknowledgeAuthentication in class org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManagerorg.tmatesoft.svn.core.SVNExceptionprotected void onSuccess(String realm, SubversionSCM.DescriptorImpl.Credential cred)
public void checkIfProtocolCompleted()
throws org.tmatesoft.svn.core.SVNCancelException
org.tmatesoft.svn.core.SVNCancelExceptionCopyright © 2004–2015. All rights reserved.