Class Shell.MyUserInfo

java.lang.Object
nidaqdev.networkdaq.Shell.MyUserInfo
All Implemented Interfaces:
com.jcraft.jsch.UIKeyboardInteractive, com.jcraft.jsch.UserInfo
Enclosing class:
Shell

public abstract static class Shell.MyUserInfo extends Object implements com.jcraft.jsch.UserInfo, com.jcraft.jsch.UIKeyboardInteractive
  • Constructor Details

    • MyUserInfo

      public MyUserInfo()
  • Method Details

    • getPassword

      public String getPassword()
      Specified by:
      getPassword in interface com.jcraft.jsch.UserInfo
    • promptYesNo

      public boolean promptYesNo(String str)
      Specified by:
      promptYesNo in interface com.jcraft.jsch.UserInfo
    • getPassphrase

      public String getPassphrase()
      Specified by:
      getPassphrase in interface com.jcraft.jsch.UserInfo
    • promptPassphrase

      public boolean promptPassphrase(String message)
      Specified by:
      promptPassphrase in interface com.jcraft.jsch.UserInfo
    • promptPassword

      public boolean promptPassword(String message)
      Specified by:
      promptPassword in interface com.jcraft.jsch.UserInfo
    • showMessage

      public void showMessage(String message)
      Specified by:
      showMessage in interface com.jcraft.jsch.UserInfo
    • promptKeyboardInteractive

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