Methods Summary |
---|
public java.lang.String | getKeyfile()Returns the keyfile.
return keyfile;
|
public java.lang.String | getName()Gets the user name.
return name;
|
public java.lang.String | getPassphrase()Returns the passphrase.
return passphrase;
|
public java.lang.String | getPassphrase(java.lang.String message)Gets the pass phrase of the user.
return passphrase;
|
public java.lang.String | getPassword()Gets the user's password.
return password;
|
public boolean | getTrust()
return this.trustAllCertificates;
|
public boolean | prompt(java.lang.String str)Prompts a string.
return false;
|
public java.lang.String[] | promptKeyboardInteractive(java.lang.String destination, java.lang.String name, java.lang.String instruction, java.lang.String[] prompt, boolean[] echo)Implementation of UIKeyboardInteractive#promptKeyboardInteractive.
if (prompt.length != 1 || echo[0] || this.password == null) {
return null;
}
String[] response = new String[1];
response[0] = this.password;
return response;
|
public boolean | promptPassphrase(java.lang.String message)Implement the UserInfo interface.
return true;
|
public boolean | promptPassword(java.lang.String passwordPrompt)Implement the UserInfo interface.
return true;
|
public boolean | promptYesNo(java.lang.String message)Implement the UserInfo interface.
return trustAllCertificates;
|
public boolean | retry()Indicates whether a retry was done.
return false;
|
public void | setKeyfile(java.lang.String keyfile)Sets the keyfile.
this.keyfile = keyfile;
|
public void | setName(java.lang.String name)Sets the name.
this.name = name;
|
public void | setPassphrase(java.lang.String passphrase)Sets the passphrase.
this.passphrase = passphrase;
|
public void | setPassword(java.lang.String password)Sets the password.
this.password = password;
|
public void | setTrust(boolean trust)Sets the trust.
this.trustAllCertificates = trust;
|
public void | showMessage(java.lang.String message)Implement the UserInfo interface (noop).
//log(message, Project.MSG_DEBUG);
|