Package adams.scripting.connection
Class AbstractSSHConnection.TrustAll
- java.lang.Object
-
- adams.scripting.connection.AbstractSSHConnection.TrustAll
-
- All Implemented Interfaces:
com.jcraft.jsch.UserInfo
- Enclosing class:
- AbstractSSHConnection
public static class AbstractSSHConnection.TrustAll extends Object implements com.jcraft.jsch.UserInfo
Dummy implementation that trusts all.
-
-
Constructor Summary
Constructors Constructor Description TrustAll()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPassphrase()
String
getPassword()
boolean
promptPassphrase(String message)
boolean
promptPassword(String message)
boolean
promptYesNo(String message)
void
showMessage(String message)
-
-
-
Method Detail
-
getPassphrase
public String getPassphrase()
- Specified by:
getPassphrase
in interfacecom.jcraft.jsch.UserInfo
-
getPassword
public String getPassword()
- Specified by:
getPassword
in interfacecom.jcraft.jsch.UserInfo
-
promptPassword
public boolean promptPassword(String message)
- Specified by:
promptPassword
in interfacecom.jcraft.jsch.UserInfo
-
promptPassphrase
public boolean promptPassphrase(String message)
- Specified by:
promptPassphrase
in interfacecom.jcraft.jsch.UserInfo
-
promptYesNo
public boolean promptYesNo(String message)
- Specified by:
promptYesNo
in interfacecom.jcraft.jsch.UserInfo
-
showMessage
public void showMessage(String message)
- Specified by:
showMessage
in interfacecom.jcraft.jsch.UserInfo
-
-