|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utk.cs.icl.rest.comm.GsapUserInfo
Prompts user when needed for things such as password, passphrase, and yes/no.
| Constructor Summary | |
GsapUserInfo()
Create a blank GsapUserInfo w/ no stored password or passphrase |
|
| Method Summary | |
char[] |
getPassphrase()
Get the passphrase from the user. |
char[] |
getPassword()
Get the password from the user. |
boolean |
isGrouped()
Getter for property grouped. |
static boolean |
isHeadless()
|
char[][] |
promptKeyboardInteractive(String destination,
String name,
String instruction,
String[] prompt,
boolean[] echo)
|
boolean |
promptPassphrase(String message)
Print the passphrase prompt. |
boolean |
promptPassword(String message)
Print the password prompt |
boolean |
promptYesNo(String message)
Print a yes or no prompt. |
boolean |
promptYesNo(String shortMsg,
String message)
Print a yes or no prompt. |
boolean |
promptYesNo(String shortMsg,
String message,
String tooltip)
Print a yes or no prompt. |
void |
purgePassphrase()
Forget saved passphrase. |
void |
purgePassword()
Forget saved password. |
void |
purgePassword(boolean groupFinished)
|
void |
setGrouped(boolean grouped)
Setter for property grouped. |
void |
setGrouped(String grouped)
|
static void |
setHeadless(boolean b)
|
void |
setPassphrase(char[] pwd)
Set the passphrase |
void |
setPassword(char[] pwd)
Set the password |
void |
showMessage(String message)
Print a message to the user. |
void |
showMessage(String shortMsg,
String message)
Print a message to the user. |
void |
showMessage(String shortMsg,
String message,
String tooltip)
Print a message to the user. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GsapUserInfo()
| Method Detail |
public static void setHeadless(boolean b)
public static boolean isHeadless()
public void setGrouped(boolean grouped)
grouped - New value of property grouped.public void setGrouped(String grouped)
public boolean isGrouped()
public void setPassphrase(char[] pwd)
pwd - as char[]public char[] getPassphrase()
getPassphrase in interface com.jcraft.jsch.UserInfopublic void setPassword(char[] pwd)
pwd - as char[]public char[] getPassword()
getPassword in interface com.jcraft.jsch.UserInfo
public char[][] promptKeyboardInteractive(String destination,
String name,
String instruction,
String[] prompt,
boolean[] echo)
promptKeyboardInteractive in interface com.jcraft.jsch.UIKeyboardInteractivepublic boolean promptPassphrase(String message)
promptPassphrase in interface com.jcraft.jsch.UserInfomessage - Message to display to the user
public boolean promptPassword(String message)
promptPassword in interface com.jcraft.jsch.UserInfomessage - Message to display to the user
public boolean promptYesNo(String message)
promptYesNo in interface com.jcraft.jsch.UserInfomessage - Message to display to the user
public boolean promptYesNo(String shortMsg,
String message)
promptYesNo in interface com.jcraft.jsch.UserInfomessage - Message to display to the user
public boolean promptYesNo(String shortMsg,
String message,
String tooltip)
promptYesNo in interface com.jcraft.jsch.UserInfomessage - Message to display to the user
public void purgePassphrase()
public void purgePassword()
public void purgePassword(boolean groupFinished)
public void showMessage(String message)
showMessage in interface com.jcraft.jsch.UserInfomessage - Message to display to the user
public void showMessage(String shortMsg,
String message)
showMessage in interface com.jcraft.jsch.UserInfomessage - Message to display to the user
public void showMessage(String shortMsg,
String message,
String tooltip)
showMessage in interface com.jcraft.jsch.UserInfomessage - Message to display to the user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||