hudson.scm
类 UserProvidedCredential.AuthenticationManagerImpl

java.lang.Object
  继承者 org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager
      继承者 hudson.scm.UserProvidedCredential.AuthenticationManagerImpl
所有已实现的接口:
org.tmatesoft.svn.core.auth.ISVNAuthenticationManager
包容类:
UserProvidedCredential

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 继承的嵌套类/接口
org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.DumbAuthenticationProvider, org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.IPersistentAuthenticationProvider
 
字段摘要
 
从接口 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager 继承的字段
PASSWORD, SSH, SSL, USERNAME
 
构造方法摘要
UserProvidedCredential.AuthenticationManagerImpl(java.io.PrintWriter logWriter)
           
UserProvidedCredential.AuthenticationManagerImpl(hudson.model.TaskListener listener)
           
UserProvidedCredential.AuthenticationManagerImpl(java.io.Writer w)
           
 
方法摘要
 void acknowledgeAuthentication(boolean accepted, java.lang.String kind, java.lang.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(java.lang.String kind, java.lang.String realm, org.tmatesoft.svn.core.SVNURL url)
           
 org.tmatesoft.svn.core.auth.SVNAuthentication getNextAuthentication(java.lang.String kind, java.lang.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(java.lang.String realm, BlameSubversionSCM.DescriptorImpl.Credential cred)
          Called upon a successful acceptance of the credential.
 
从类 org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager 继承的方法
acknowledgeTrustManager, createCacheAuthenticationProvider, createDefaultAuthenticationProvider, createRuntimeAuthenticationProvider, getAuthenticationProvider, getAuthTypes, getConfigFile, getConnectTimeout, getDefaultSSHAuthentication, getDefaultSSHPortNumber, getProxyManager, getReadTimeout, getRuntimeAuthStorage, getServersFile, getTrustManager, getUserName, isAuthenticationForced, isAuthStorageEnabled, isStorePasswords, isStorePlainTextPassphrases, isStorePlainTextPasswords, isStoreSSLClientCertificatePassphrases, setAuthenticationForced, setAuthenticationOutcomeListener, setAuthenticationProvider, setAuthStoreHandler, setInMemoryConfigOptions, setInMemoryServersOptions, setRuntimeStorage
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

UserProvidedCredential.AuthenticationManagerImpl

public UserProvidedCredential.AuthenticationManagerImpl(java.io.PrintWriter logWriter)

UserProvidedCredential.AuthenticationManagerImpl

public UserProvidedCredential.AuthenticationManagerImpl(java.io.Writer w)

UserProvidedCredential.AuthenticationManagerImpl

public UserProvidedCredential.AuthenticationManagerImpl(hudson.model.TaskListener listener)
方法详细信息

getFirstAuthentication

public org.tmatesoft.svn.core.auth.SVNAuthentication getFirstAuthentication(java.lang.String kind,
                                                                            java.lang.String realm,
                                                                            org.tmatesoft.svn.core.SVNURL url)
                                                                     throws org.tmatesoft.svn.core.SVNException
指定者:
接口 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager 中的 getFirstAuthentication
覆盖:
org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager 中的 getFirstAuthentication
抛出:
org.tmatesoft.svn.core.SVNException

getNextAuthentication

public org.tmatesoft.svn.core.auth.SVNAuthentication getNextAuthentication(java.lang.String kind,
                                                                           java.lang.String realm,
                                                                           org.tmatesoft.svn.core.SVNURL url)
                                                                    throws org.tmatesoft.svn.core.SVNException
Getting here means the authentication tried in getFirstAuthentication(String, String, SVNURL) didn't work.

指定者:
接口 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager 中的 getNextAuthentication
覆盖:
org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager 中的 getNextAuthentication
抛出:
org.tmatesoft.svn.core.SVNException

acknowledgeAuthentication

public void acknowledgeAuthentication(boolean accepted,
                                      java.lang.String kind,
                                      java.lang.String realm,
                                      org.tmatesoft.svn.core.SVNErrorMessage errorMessage,
                                      org.tmatesoft.svn.core.auth.SVNAuthentication authentication)
                               throws org.tmatesoft.svn.core.SVNException
指定者:
接口 org.tmatesoft.svn.core.auth.ISVNAuthenticationManager 中的 acknowledgeAuthentication
覆盖:
org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager 中的 acknowledgeAuthentication
抛出:
org.tmatesoft.svn.core.SVNException

onSuccess

protected void onSuccess(java.lang.String realm,
                         BlameSubversionSCM.DescriptorImpl.Credential cred)
Called upon a successful acceptance of the credential.


checkIfProtocolCompleted

public void checkIfProtocolCompleted()
                              throws org.tmatesoft.svn.core.SVNCancelException
Verifies that the expected authentication happened.

抛出:
org.tmatesoft.svn.core.SVNCancelException


Copyright © 2010. All Rights Reserved.