edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo Class Reference

Inheritance diagram for edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo:
Inheritance graph
[legend]
Collaboration diagram for edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 67 of file PortForwarding.java.


Member Function Documentation

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 
)
boolean edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.promptPassphrase ( String  message  ) 

Prompts the user for a passphrase for a public key.

Parameters:
message the prompt message to be shown to the user.
Returns:
true if the user entered a passphrase. The passphrase then can be retrieved by getPassphrase.

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.

Parameters:
message the prompt string to be shown to the user.
Returns:
true if the user entered a password. This password then can be retrieved by getPassword.

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.


Member Data Documentation

Initial value:
 
                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().

JTextField edu.rice.cs.hpc.remote.tunnel.PortForwarding.MyUserInfo.passwordField = (JTextField)new JPasswordField(20) [package]

The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1