Class SSHShell.MyUserInfo
java.lang.Object
com.marginallyclever.communications.transport.ssh.SSHShell.MyUserInfo
- All Implemented Interfaces:
com.jcraft.jsch.UIKeyboardInteractive
,com.jcraft.jsch.UserInfo
- Enclosing class:
SSHShell
public static class SSHShell.MyUserInfo
extends Object
implements com.jcraft.jsch.UserInfo, com.jcraft.jsch.UIKeyboardInteractive
user info for authentication.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
promptKeyboardInteractive
(String destination, String name, String instruction, String[] prompt, boolean[] echo) boolean
promptPassphrase
(String message) boolean
promptPassword
(String message) boolean
promptYesNo
(String str) void
showMessage
(String message)
-
Constructor Details
-
MyUserInfo
public MyUserInfo()
-
-
Method Details
-
getPassword
- Specified by:
getPassword
in interfacecom.jcraft.jsch.UserInfo
-
promptYesNo
- Specified by:
promptYesNo
in interfacecom.jcraft.jsch.UserInfo
-
getPassphrase
- Specified by:
getPassphrase
in interfacecom.jcraft.jsch.UserInfo
-
promptPassphrase
- Specified by:
promptPassphrase
in interfacecom.jcraft.jsch.UserInfo
-
promptPassword
- Specified by:
promptPassword
in interfacecom.jcraft.jsch.UserInfo
-
showMessage
- Specified by:
showMessage
in interfacecom.jcraft.jsch.UserInfo
-
promptKeyboardInteractive
public String[] promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo) - Specified by:
promptKeyboardInteractive
in interfacecom.jcraft.jsch.UIKeyboardInteractive
-