|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager
hudson.scm.UserProvidedCredential.AuthenticationManagerImpl
public class UserProvidedCredential.AuthenticationManagerImpl
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 | |
|---|---|
UserProvidedCredential.AuthenticationManagerImpl(File subversionConfigDir,
PrintWriter logWriter)
|
|
UserProvidedCredential.AuthenticationManagerImpl(PrintWriter logWriter)
Constructor for AuthenticationManager implementation. |
|
UserProvidedCredential.AuthenticationManagerImpl(hudson.model.TaskListener listener)
|
|
UserProvidedCredential.AuthenticationManagerImpl(Writer w)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager |
|---|
acknowledgeTrustManager, createCacheAuthenticationProvider, createDefaultAuthenticationProvider, createRuntimeAuthenticationProvider, getAuthenticationProvider, getAuthenticationStorageOptions, getAuthTypes, getConfigDirectory, getConnectTimeout, getDefaultOptions, getDefaultSSHAuthentication, getHostOptionsProvider, getProxyManager, getReadTimeout, getRuntimeAuthStorage, getTrustManager, isAuthenticationForced, isSSLPassphrasePromtSupported, setAuthenticationForced, setAuthenticationProvider, setAuthenticationStorageOptions, setHostOptionsProvider, setInMemoryConfigOptions, setInMemoryServersOptions, setRuntimeStorage, verifyHostKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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)
| Method Detail |
|---|
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.SVNException
public 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.SVNException
protected void onSuccess(String realm,
SubversionSCM.DescriptorImpl.Credential cred,
Boolean overrideGlobal)
public void checkIfProtocolCompleted()
throws org.tmatesoft.svn.core.SVNCancelException
org.tmatesoft.svn.core.SVNCancelException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||