|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.isisfish.util.ssh.SSHUserInfo
public class SSHUserInfo
Class used to ask used for connection info. Password, passphrase...
| Field Summary | |
|---|---|
protected String |
passphrase
Passphrase. |
protected String |
passwd
Password text field. |
protected JPasswordField |
passwordField
Password text field. |
| Constructor Summary | |
|---|---|
SSHUserInfo()
|
|
| Method Summary | |
|---|---|
String |
getPassphrase()
|
String |
getPasswd()
|
String |
getPassword()
|
String[] |
promptKeyboardInteractive(String destination,
String name,
String instruction,
String[] prompt,
boolean[] echo)
|
boolean |
promptPassphrase(String arg0)
|
boolean |
promptPassword(String message)
|
boolean |
promptYesNo(String str)
Call to ask user in remote server key can be trusted. |
void |
setPassphrase(String passphrase)
|
void |
setPasswd(String passwd)
|
void |
showMessage(String message)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String passphrase
protected String passwd
protected JPasswordField passwordField
| Constructor Detail |
|---|
public SSHUserInfo()
| Method Detail |
|---|
public boolean promptYesNo(String str)
promptYesNo in interface com.jcraft.jsch.UserInfopublic String getPassphrase()
getPassphrase in interface com.jcraft.jsch.UserInfopublic String getPassword()
getPassword in interface com.jcraft.jsch.UserInfopublic String getPasswd()
public void setPasswd(String passwd)
passwd - the passwd to setpublic void setPassphrase(String passphrase)
passphrase - the passphrase to setpublic boolean promptPassphrase(String arg0)
promptPassphrase in interface com.jcraft.jsch.UserInfopublic boolean promptPassword(String message)
promptPassword in interface com.jcraft.jsch.UserInfopublic void showMessage(String message)
showMessage in interface com.jcraft.jsch.UserInfo
public String[] promptKeyboardInteractive(String destination,
String name,
String instruction,
String[] prompt,
boolean[] echo)
promptKeyboardInteractive in interface com.jcraft.jsch.UIKeyboardInteractive
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||