PasswordChangeRequest Event
Signals that the server requests a password change.
Syntax
public class DefaultSftpclientEventListener implements SftpclientEventListener { ... public void passwordChangeRequest(SftpclientPasswordChangeRequestEvent e) {} ... } public class SftpclientPasswordChangeRequestEvent { public String prompt; public String newPassword; public boolean cancel; }
Remarks
The component fires this event to pass the password change request from the server to the application. This event is fired during the SSH handshake.