hudson.scm
Class SubversionCredentialProvider

java.lang.Object
  extended by hudson.scm.SubversionCredentialProvider
All Implemented Interfaces:
hudson.ExtensionPoint

public abstract class SubversionCredentialProvider
extends java.lang.Object
implements hudson.ExtensionPoint

Extension point for programmatically providing a credential (such as username/password) for Subversion access.

Put Extension on your implementation to have it registered.

Since:
1.301
Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
SubversionCredentialProvider()
           
 
Method Summary
static hudson.ExtensionList<SubversionCredentialProvider> all()
          All regsitered instances.
abstract  SubversionSCM.DescriptorImpl.Credential getCredential(org.tmatesoft.svn.core.SVNURL url, java.lang.String realm)
          Called whenever Hudson needs to connect to an authenticated subversion repository, to obtain a credential.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubversionCredentialProvider

public SubversionCredentialProvider()
Method Detail

getCredential

public abstract SubversionSCM.DescriptorImpl.Credential getCredential(org.tmatesoft.svn.core.SVNURL url,
                                                                      java.lang.String realm)
Called whenever Hudson needs to connect to an authenticated subversion repository, to obtain a credential.

Parameters:
realm - This is a non-null string that represents the realm of authentication.
url - URL that is being accessed. Never null.
Returns:
null if the implementation doesn't understand the given realm. When null is returned, Hudson searches other sources of credentials to come up with one.

all

public static hudson.ExtensionList<SubversionCredentialProvider> all()
All regsitered instances.



Copyright © 2009. All Rights Reserved.