Package hudson.scm
Class UserProvidedCredential.AuthenticationManagerImpl
java.lang.Object
org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager
hudson.scm.UserProvidedCredential.AuthenticationManagerImpl
- All Implemented Interfaces:
org.tmatesoft.svn.core.auth.ISVNAuthenticationManager,org.tmatesoft.svn.core.auth.ISVNSSHHostVerifier,org.tmatesoft.svn.core.internal.wc.ISVNSSLPasspharsePromptSupport
- Enclosing class:
- UserProvidedCredential
public class UserProvidedCredential.AuthenticationManagerImpl
extends org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager
ISVNAuthenticationManager that uses the user provided credential.-
Nested Class Summary
Nested classes/interfaces inherited from class org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager
org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.DumbAuthenticationProvider, org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.ExtendedHostOptions, org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.ExtendedHostOptionsProvider -
Field Summary
Fields inherited from interface org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
PASSWORD, SSH, SSL, USERNAME -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationManagerImpl(TaskListener listener) AuthenticationManagerImpl(PrintWriter logWriter) -
Method Summary
Modifier and TypeMethodDescriptionvoidacknowledgeAuthentication(boolean accepted, String kind, String realm, org.tmatesoft.svn.core.SVNErrorMessage errorMessage, org.tmatesoft.svn.core.auth.SVNAuthentication authentication) voidVerifies that the expected authentication happened.org.tmatesoft.svn.core.auth.SVNAuthenticationgetFirstAuthentication(String kind, String realm, org.tmatesoft.svn.core.SVNURL url) org.tmatesoft.svn.core.auth.SVNAuthenticationgetNextAuthentication(String kind, String realm, org.tmatesoft.svn.core.SVNURL url) Getting here means the authentication tried ingetFirstAuthentication(String, String, SVNURL)didn't work.protected voidonSuccess(String realm, SubversionSCM.DescriptorImpl.Credential cred) Called upon a successful acceptance of the credential.Methods inherited from class org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager
acknowledgeTrustManager, createAuthenticationStorageOptions, createCacheAuthenticationProvider, createDefaultAuthenticationProvider, createRuntimeAuthenticationProvider, dismissSensitiveData, getAuthenticationProvider, getAuthenticationStorageOptions, getAuthTypes, getConfigDirectory, getConnectTimeout, getDefaultOptions, getDefaultSSHAuthentication, getHostOptionsProvider, getProxyManager, getReadTimeout, getRuntimeAuthStorage, getTrustManager, isAuthenticationForced, isDismissSensitiveDataUponUse, isSSLPassphrasePromtSupported, setAuthenticationForced, setAuthenticationProvider, setAuthenticationStorageOptions, setDismissSensitiveDataUponUse, setHostOptionsProvider, setInMemoryConfigOptions, setInMemoryServersOptions, setRuntimeStorage, verifyHostKey
-
Constructor Details
-
AuthenticationManagerImpl
-
AuthenticationManagerImpl
-
AuthenticationManagerImpl
-
-
Method Details
-
getFirstAuthentication
public org.tmatesoft.svn.core.auth.SVNAuthentication getFirstAuthentication(String kind, String realm, org.tmatesoft.svn.core.SVNURL url) throws org.tmatesoft.svn.core.SVNException - Specified by:
getFirstAuthenticationin interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager- Overrides:
getFirstAuthenticationin classorg.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager- Throws:
org.tmatesoft.svn.core.SVNException
-
getNextAuthentication
public org.tmatesoft.svn.core.auth.SVNAuthentication getNextAuthentication(String kind, String realm, org.tmatesoft.svn.core.SVNURL url) throws org.tmatesoft.svn.core.SVNException Getting here means the authentication tried ingetFirstAuthentication(String, String, SVNURL)didn't work.- Specified by:
getNextAuthenticationin interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager- Overrides:
getNextAuthenticationin classorg.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager- Throws:
org.tmatesoft.svn.core.SVNException
-
acknowledgeAuthentication
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 - Specified by:
acknowledgeAuthenticationin interfaceorg.tmatesoft.svn.core.auth.ISVNAuthenticationManager- Overrides:
acknowledgeAuthenticationin classorg.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager- Throws:
org.tmatesoft.svn.core.SVNException
-
onSuccess
Called upon a successful acceptance of the credential. -
checkIfProtocolCompleted
public void checkIfProtocolCompleted() throws org.tmatesoft.svn.core.SVNCancelExceptionVerifies that the expected authentication happened.- Throws:
org.tmatesoft.svn.core.SVNCancelException
-