org.apache.oodt.cas.protocol.sftp.auth
Class HostKeyAuthentication

java.lang.Object
  extended by org.apache.oodt.cas.protocol.auth.BasicAuthentication
      extended by org.apache.oodt.cas.protocol.sftp.auth.HostKeyAuthentication
All Implemented Interfaces:
Authentication

public class HostKeyAuthentication
extends BasicAuthentication

Authentication implementation allowing a SSH host key file to be specified.

Author:
bfoster

Constructor Summary
HostKeyAuthentication(String user, String pass, String hostKeyFile)
           
HostKeyAuthentication(String user, String pass, String hostKeyFile, String passphrase)
           
 
Method Summary
 String getHostKeyFile()
           
 String getPassphrase()
           
 
Methods inherited from class org.apache.oodt.cas.protocol.auth.BasicAuthentication
getPass, getUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostKeyAuthentication

public HostKeyAuthentication(String user,
                             String pass,
                             String hostKeyFile)

HostKeyAuthentication

public HostKeyAuthentication(String user,
                             String pass,
                             String hostKeyFile,
                             String passphrase)
Method Detail

getHostKeyFile

public String getHostKeyFile()

getPassphrase

public String getPassphrase()


Copyright © 1999-2013
Apache OODT. All Rights Reserved.