org.apache.tools.ant.taskdefs.optional.ssh
Class SSHUserInfo
java.lang.Object
org.apache.tools.ant.taskdefs.optional.ssh.SSHUserInfo
- UserInfo
public class SSHUserInfo
extends java.lang.Object
implements UserInfo
SSHUserInfo
public SSHUserInfo()
SSHUserInfo
public SSHUserInfo(String password,
boolean trustAllCertificates)
getKeyfile
public String getKeyfile()
Returns the keyfile.
- String
getName
public String getName()
com.jcraft.jsch.UserInfo.getName()
getPassphrase
public String getPassphrase()
Returns the passphrase.
- String
getPassphrase
public String getPassphrase(String message)
com.jcraft.jsch.UserInfo.getPassphrase(String)
getPassword
public String getPassword()
com.jcraft.jsch.UserInfo.getPassword()
getTrust
public boolean getTrust()
- whether to trust or not.
prompt
public boolean prompt(String str)
com.jcraft.jsch.UserInfo.prompt(String)
promptPassphrase
public boolean promptPassphrase(String message)
com.jcraft.jsch.UserInfo.promptPassphrase(String)
promptPassword
public boolean promptPassword(String passwordPrompt)
com.jcraft.jsch.UserInfo.promptPassword(String)
promptYesNo
public boolean promptYesNo(String message)
com.jcraft.jsch.UserInfo.promptYesNo(String)
retry
public boolean retry()
com.jcraft.jsch.UserInfo.retry()
setKeyfile
public void setKeyfile(String keyfile)
Sets the keyfile.
keyfile
- The keyfile to set
setName
public void setName(String name)
Sets the name.
name
- The name to set
setPassphrase
public void setPassphrase(String passphrase)
Sets the passphrase.
passphrase
- The passphrase to set
setPassword
public void setPassword(String password)
Sets the password.
password
- The password to set
setTrust
public void setTrust(boolean trust)
Sets the trust.
trust
- whether to trust or not.
showMessage
public void showMessage(String message)
com.jcraft.jsch.UserInfo.showMessage(String)
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.