|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.optional.ssh.SSHUserInfo
Constructor Summary | |
SSHUserInfo()
|
|
SSHUserInfo(java.lang.String password,
boolean trustAllCertificates)
|
Method Summary | |
java.lang.String |
getKeyfile()
Returns the keyfile. |
java.lang.String |
getName()
|
java.lang.String |
getPassphrase()
Returns the passphrase. |
java.lang.String |
getPassphrase(java.lang.String message)
|
java.lang.String |
getPassword()
|
boolean |
getTrust()
|
boolean |
prompt(java.lang.String str)
|
boolean |
promptPassphrase(java.lang.String message)
|
boolean |
promptPassword(java.lang.String passwordPrompt)
|
boolean |
promptYesNo(java.lang.String message)
|
boolean |
retry()
|
void |
setKeyfile(java.lang.String keyfile)
Sets the keyfile. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setPassphrase(java.lang.String passphrase)
Sets the passphrase. |
void |
setPassword(java.lang.String password)
Sets the password. |
void |
setTrust(boolean trust)
Sets the trust. |
void |
showMessage(java.lang.String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SSHUserInfo()
public SSHUserInfo(java.lang.String password, boolean trustAllCertificates)
Method Detail |
public java.lang.String getName()
com.jcraft.jsch.UserInfo#getName()
public java.lang.String getPassphrase(java.lang.String message)
com.jcraft.jsch.UserInfo#getPassphrase(String)
public java.lang.String getPassword()
getPassword
in interface com.jcraft.jsch.UserInfo
UserInfo.getPassword()
public boolean prompt(java.lang.String str)
com.jcraft.jsch.UserInfo#prompt(String)
public boolean retry()
com.jcraft.jsch.UserInfo#retry()
public void setName(java.lang.String name)
name
- The name to setpublic void setPassphrase(java.lang.String passphrase)
passphrase
- The passphrase to setpublic void setPassword(java.lang.String password)
password
- The password to setpublic void setTrust(boolean trust)
trust
- whether to trust or not.public boolean getTrust()
public java.lang.String getPassphrase()
getPassphrase
in interface com.jcraft.jsch.UserInfo
public java.lang.String getKeyfile()
public void setKeyfile(java.lang.String keyfile)
keyfile
- The keyfile to setpublic boolean promptPassphrase(java.lang.String message)
promptPassphrase
in interface com.jcraft.jsch.UserInfo
UserInfo.promptPassphrase(String)
public boolean promptPassword(java.lang.String passwordPrompt)
promptPassword
in interface com.jcraft.jsch.UserInfo
UserInfo.promptPassword(String)
public boolean promptYesNo(java.lang.String message)
promptYesNo
in interface com.jcraft.jsch.UserInfo
UserInfo.promptYesNo(String)
public void showMessage(java.lang.String message)
showMessage
in interface com.jcraft.jsch.UserInfo
UserInfo.showMessage(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |