PasswordChangeRequest Event
This event is fired when a password change is requested.
Syntax
public class DefaultSshclientEventListener implements SshclientEventListener { ... public void passwordChangeRequest(SshclientPasswordChangeRequestEvent e) {} ... } public class SshclientPasswordChangeRequestEvent { public String prompt; public String newPassword; public boolean cancel; }
Remarks
This event is fired by the class when a password change is requested by the server. Prompt contains the password prompt message. Handler should either provide the new password via NewPassword, or deny the request by setting Cancel to true.