Package nidaqdev.networkdaq
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo) booleanpromptPassphrase(String message) booleanpromptPassword(String message) booleanpromptYesNo(String str) voidshowMessage(String message)
-
Constructor Details
-
MyUserInfo
public MyUserInfo()
-
-
Method Details
-
getPassword
- Specified by:
getPasswordin interfacecom.jcraft.jsch.UserInfo
-
promptYesNo
- Specified by:
promptYesNoin interfacecom.jcraft.jsch.UserInfo
-
getPassphrase
- Specified by:
getPassphrasein interfacecom.jcraft.jsch.UserInfo
-
promptPassphrase
- Specified by:
promptPassphrasein interfacecom.jcraft.jsch.UserInfo
-
promptPassword
- Specified by:
promptPasswordin interfacecom.jcraft.jsch.UserInfo
-
showMessage
- Specified by:
showMessagein interfacecom.jcraft.jsch.UserInfo
-
promptKeyboardInteractive
public String[] promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo) - Specified by:
promptKeyboardInteractivein interfacecom.jcraft.jsch.UIKeyboardInteractive
-