hudson.scm.credential
Class SshPublicKeyCredential

java.lang.Object
  extended by hudson.scm.SubversionSCM.DescriptorImpl.Credential
      extended by hudson.scm.credential.SshPublicKeyCredential
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SubversionSCM.DescriptorImpl.SshPublicKeyCredential

public class SshPublicKeyCredential
extends SubversionSCM.DescriptorImpl.Credential

Public key authentication for Subversion over SSH.

Date: 5/11/11

Author:
Nikita Levyankov
See Also:
Serialized Form

Constructor Summary
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

SshPublicKeyCredential

public 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-2011 Hudson. All Rights Reserved.