edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo Class Reference

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

List of all members.

Classes

class  KeyboardInteractiveDialog

Public Member Functions

 RemoteUserInfo (Shell shell)
void setInfo (String user, String hostname, int port)
boolean promptPassword (String message)
 Prompts the user for a password used for authentication for the remote server.
String getPassword ()
 Returns the password entered by the user.
boolean promptPassphrase (String message)
 Prompts the user for a passphrase for a public key.
String getPassphrase ()
 Returns the passphrase entered by the user.
boolean promptYesNo (String message)
void showMessage (String message)
String[] promptKeyboardInteractive (String destination, String name, String instruction, String[] prompt, boolean[] echo)

Private Attributes

final Shell shell
String password
String user
String hostname
int port

Detailed Description

Definition at line 26 of file RemoteUserInfo.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.RemoteUserInfo ( Shell  shell  ) 

Definition at line 35 of file RemoteUserInfo.java.


Member Function Documentation

String edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.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 76 of file RemoteUserInfo.java.

String edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.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 66 of file RemoteUserInfo.java.

References edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.password.

String [] edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.promptKeyboardInteractive ( String  destination,
String  name,
String  instruction,
String[]  prompt,
boolean[]  echo 
)
boolean edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.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 71 of file RemoteUserInfo.java.

boolean edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.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 53 of file RemoteUserInfo.java.

References edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.hostname, edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.password, edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.port, edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.shell, and edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.user.

boolean edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.promptYesNo ( String  message  ) 

Definition at line 81 of file RemoteUserInfo.java.

void edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.setInfo ( String  user,
String  hostname,
int  port 
)
void edu.rice.cs.hpc.remote.tunnel.RemoteUserInfo.showMessage ( String  message  ) 

Member Data Documentation


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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1