org.apache.log4j.chainsaw.vfs
Class VFSLogFilePatternReceiver.MyUserInfo

java.lang.Object
  extended by org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver.MyUserInfo
All Implemented Interfaces:
com.jcraft.jsch.UIKeyboardInteractive, com.jcraft.jsch.UserInfo
Enclosing class:
VFSLogFilePatternReceiver

public class VFSLogFilePatternReceiver.MyUserInfo
extends java.lang.Object
implements com.jcraft.jsch.UserInfo, com.jcraft.jsch.UIKeyboardInteractive

UserInfo class used to automatically log in if needed - also implemements UIKeyboardInteractive (UserInfo methods not used, just UIKeyboardInteractive)

Author:
sdeboy

Constructor Summary
VFSLogFilePatternReceiver.MyUserInfo()
           
 
Method Summary
 java.lang.String getPassphrase()
           
 java.lang.String getPassword()
           
 java.lang.String[] promptKeyboardInteractive(java.lang.String destination, java.lang.String loginName, java.lang.String instruction, java.lang.String[] prompt, boolean[] echo)
           
 boolean promptPassphrase(java.lang.String arg0)
           
 boolean promptPassword(java.lang.String arg0)
           
 boolean promptYesNo(java.lang.String arg0)
           
 void showMessage(java.lang.String arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VFSLogFilePatternReceiver.MyUserInfo

public VFSLogFilePatternReceiver.MyUserInfo()
Method Detail

promptKeyboardInteractive

public java.lang.String[] promptKeyboardInteractive(java.lang.String destination,
                                                    java.lang.String loginName,
                                                    java.lang.String instruction,
                                                    java.lang.String[] prompt,
                                                    boolean[] echo)
Specified by:
promptKeyboardInteractive in interface com.jcraft.jsch.UIKeyboardInteractive

getPassphrase

public java.lang.String getPassphrase()
Specified by:
getPassphrase in interface com.jcraft.jsch.UserInfo

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface com.jcraft.jsch.UserInfo

promptPassphrase

public boolean promptPassphrase(java.lang.String arg0)
Specified by:
promptPassphrase in interface com.jcraft.jsch.UserInfo

promptPassword

public boolean promptPassword(java.lang.String arg0)
Specified by:
promptPassword in interface com.jcraft.jsch.UserInfo

promptYesNo

public boolean promptYesNo(java.lang.String arg0)
Specified by:
promptYesNo in interface com.jcraft.jsch.UserInfo

showMessage

public void showMessage(java.lang.String arg0)
Specified by:
showMessage in interface com.jcraft.jsch.UserInfo


Copyright © 2007 Apache Software Foundation. All Rights Reserved.