hudson.scm
Class SubversionSCM.DescriptorImpl.SshPublicKeyCredential

java.lang.Object
  extended by hudson.scm.SubversionSCM.DescriptorImpl.Credential
      extended by hudson.scm.SubversionSCM.DescriptorImpl.SshPublicKeyCredential
All Implemented Interfaces:
Serializable
Enclosing class:
SubversionSCM.DescriptorImpl

public static final class SubversionSCM.DescriptorImpl.SshPublicKeyCredential
extends SubversionSCM.DescriptorImpl.Credential

Public key authentication for Subversion over SSH.

See Also:
Serialized Form

Constructor Summary
SubversionSCM.DescriptorImpl.SshPublicKeyCredential(String userName, String passphrase, File keyFile)
           
 
Method Summary
 org.tmatesoft.svn.core.auth.SVNSSHAuthentication createSVNAuthentication(String kind)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubversionSCM.DescriptorImpl.SshPublicKeyCredential

public SubversionSCM.DescriptorImpl.SshPublicKeyCredential(String userName,
                                                           String passphrase,
                                                           File keyFile)
                                                    throws org.tmatesoft.svn.core.SVNException
Parameters:
keyFile - stores SSH private key. The file will be copied.
Throws:
org.tmatesoft.svn.core.SVNException
Method Detail

createSVNAuthentication

public org.tmatesoft.svn.core.auth.SVNSSHAuthentication createSVNAuthentication(String kind)
                                                                         throws org.tmatesoft.svn.core.SVNException
Specified by:
createSVNAuthentication in class SubversionSCM.DescriptorImpl.Credential
Parameters:
kind - One of the constants defined in ISVNAuthenticationManager, indicating what subtype of SVNAuthentication is expected.
Throws:
org.tmatesoft.svn.core.SVNException


Copyright © 2004-2013. All Rights Reserved.