Class ConsoleUserInfo

java.lang.Object
repast.simphony.batch.ssh.ConsoleUserInfo
All Implemented Interfaces:
com.jcraft.jsch.UserInfo

public class ConsoleUserInfo extends Object implements com.jcraft.jsch.UserInfo
Console based user info.
Author:
Nick Collier
  • Constructor Details

    • ConsoleUserInfo

      public ConsoleUserInfo()
  • Method Details

    • getPassphrase

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

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

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

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

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

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