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:
java.io.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(java.lang.String userName, java.lang.String passphrase, java.io.File keyFile)
           
 
Method Summary
 org.tmatesoft.svn.core.auth.SVNSSHAuthentication createSVNAuthentication(java.lang.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(java.lang.String userName,
                                                           java.lang.String passphrase,
                                                           java.io.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(java.lang.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 © 2011. All Rights Reserved.