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 |
|---|
UserProvidedCredential.AuthenticationManagerImpl(File subversionConfigDir,
PrintWriter logWriter) |
UserProvidedCredential.AuthenticationManagerImpl(PrintWriter logWriter)
Constructor for AuthenticationManager implementation.
|
UserProvidedCredential.AuthenticationManagerImpl(hudson.model.TaskListener listener) |
UserProvidedCredential.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)
Deprecated.
|
void |
checkIfProtocolCompleted()
Verifies that the expected authentication happened.
|
SubversionSCM.DescriptorImpl.Credential |
getCredential() |
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. |
String |
getRealm() |
protected void |
onSuccess(String realm,
SubversionSCM.DescriptorImpl.Credential cred,
Boolean overrideGlobal)
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 UserProvidedCredential.AuthenticationManagerImpl(PrintWriter logWriter)
logWriter - PrintWriter.SubversionSCM.getSubversionConfigDir().public UserProvidedCredential.AuthenticationManagerImpl(File subversionConfigDir, PrintWriter logWriter)
public UserProvidedCredential.AuthenticationManagerImpl(Writer w)
public UserProvidedCredential.AuthenticationManagerImpl(hudson.model.TaskListener listener)
public String getRealm()
public SubversionSCM.DescriptorImpl.Credential getCredential()
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.SVNException@Deprecated public 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, Boolean overrideGlobal)
public void checkIfProtocolCompleted()
throws org.tmatesoft.svn.core.SVNCancelException
org.tmatesoft.svn.core.SVNCancelExceptionCopyright © 2004-2015 Hudson. All Rights Reserved.