hudson.scm.credential
Class SshPublicKeyCredential
java.lang.Object
hudson.scm.SubversionSCM.DescriptorImpl.Credential
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.