static class FileBrowser.MyUserInfo extends java.lang.Object implements com.jcraft.jsch.UserInfo, com.jcraft.jsch.UIKeyboardInteractive
Modifier and Type | Field and Description |
---|---|
(package private) java.awt.GridBagConstraints |
gbc |
private java.awt.Container |
panel |
(package private) java.lang.String |
passwd |
(package private) javax.swing.JTextField |
passwordField |
Constructor and Description |
---|
MyUserInfo() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassphrase() |
java.lang.String |
getPassword() |
java.lang.String[] |
promptKeyboardInteractive(java.lang.String destination,
java.lang.String name,
java.lang.String instruction,
java.lang.String[] prompt,
boolean[] echo) |
boolean |
promptPassphrase(java.lang.String message) |
boolean |
promptPassword(java.lang.String message) |
boolean |
promptYesNo(java.lang.String str) |
void |
showMessage(java.lang.String message) |
java.lang.String passwd
javax.swing.JTextField passwordField
java.awt.GridBagConstraints gbc
private java.awt.Container panel
MyUserInfo()
public java.lang.String getPassword()
getPassword
in interface com.jcraft.jsch.UserInfo
public boolean promptYesNo(java.lang.String str)
promptYesNo
in interface com.jcraft.jsch.UserInfo
public java.lang.String getPassphrase()
getPassphrase
in interface com.jcraft.jsch.UserInfo
public boolean promptPassphrase(java.lang.String message)
promptPassphrase
in interface com.jcraft.jsch.UserInfo
public boolean promptPassword(java.lang.String message)
promptPassword
in interface com.jcraft.jsch.UserInfo
public void showMessage(java.lang.String message)
showMessage
in interface com.jcraft.jsch.UserInfo
public java.lang.String[] promptKeyboardInteractive(java.lang.String destination, java.lang.String name, java.lang.String instruction, java.lang.String[] prompt, boolean[] echo)
promptKeyboardInteractive
in interface com.jcraft.jsch.UIKeyboardInteractive