hudson.scm
Class BlameSubversionCredentialProvider

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

public abstract class BlameSubversionCredentialProvider
extends 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. Modify: changed by tang

Since:
1.301
Author:
tang,Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BlameSubversionCredentialProvider()
           
 
Method Summary
static hudson.ExtensionList<BlameSubversionCredentialProvider> all()
          All regsitered instances.
abstract  BlameSubversionSCM.DescriptorImpl.Credential getCredential(org.tmatesoft.svn.core.SVNURL url, 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

BlameSubversionCredentialProvider

public BlameSubversionCredentialProvider()
Method Detail

getCredential

public abstract BlameSubversionSCM.DescriptorImpl.Credential getCredential(org.tmatesoft.svn.core.SVNURL url,
                                                                           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<BlameSubversionCredentialProvider> all()
All regsitered instances.



Copyright © 2004-2012 Hudson. All Rights Reserved.