Public Member Functions | |
String | getPassword () |
Returns the password entered by the user. | |
boolean | promptYesNo (String str) |
String | getPassphrase () |
Returns the passphrase entered by the user. | |
boolean | promptPassphrase (String message) |
Prompts the user for a passphrase for a public key. | |
boolean | promptPassword (String message) |
Prompts the user for a password used for authentication for the remote server. | |
void | showMessage (String message) |
String[] | promptKeyboardInteractive (String destination, String name, String instruction, String[] prompt, boolean[] echo) |
Package Attributes | |
String | passwd |
JTextField | passwordField = (JTextField)new JPasswordField(20) |
final GridBagConstraints | gbc |
Private Attributes | |
Container | panel |
Definition at line 67 of file PortForwarding.java.
String edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.getPassphrase | ( | ) |
Returns the passphrase entered by the user.
This should be only called after a successful promptPassphrase.
Implements com.jcraft.jsch.UserInfo.
Definition at line 83 of file PortForwarding.java.
String edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.getPassword | ( | ) |
Returns the password entered by the user.
This should be only called after a successful promptPassword.
Implements com.jcraft.jsch.UserInfo.
Definition at line 68 of file PortForwarding.java.
References edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.passwd.
String [] edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.promptKeyboardInteractive | ( | String | destination, | |
String | name, | |||
String | instruction, | |||
String[] | prompt, | |||
boolean[] | echo | |||
) |
Definition at line 105 of file PortForwarding.java.
References edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.gbc, and edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.panel.
boolean edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.promptPassphrase | ( | String | message | ) |
Prompts the user for a passphrase for a public key.
message | the prompt message to be shown to the user. |
Implements com.jcraft.jsch.UserInfo.
Definition at line 84 of file PortForwarding.java.
boolean edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.promptPassword | ( | String | message | ) |
Prompts the user for a password used for authentication for the remote server.
message | the prompt string to be shown to the user. |
Implements com.jcraft.jsch.UserInfo.
Definition at line 85 of file PortForwarding.java.
References edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.passwd, and edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.passwordField.
boolean edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.promptYesNo | ( | String | str | ) |
Definition at line 69 of file PortForwarding.java.
void edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.showMessage | ( | String | message | ) |
Definition at line 96 of file PortForwarding.java.
final GridBagConstraints edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.gbc [package] |
new GridBagConstraints(0,0,1,1,1,1, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(0,0,0,0),0,0)
Definition at line 99 of file PortForwarding.java.
Referenced by edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.promptKeyboardInteractive().
Container edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.panel [private] |
Definition at line 104 of file PortForwarding.java.
Referenced by edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.promptKeyboardInteractive().
String edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.passwd [package] |
Definition at line 80 of file PortForwarding.java.
Referenced by edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.getPassword(), and edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.promptPassword().
JTextField edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.passwordField = (JTextField)new JPasswordField(20) [package] |
Definition at line 81 of file PortForwarding.java.
Referenced by edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.promptPassword().