PasswordChangeRequest Event
Signals that the server requests a password change.
Syntax
public open class DefaultSftpclientEventListener : SftpclientEventListener { ... public override fun passwordChangeRequest(e: SftpclientPasswordChangeRequestEvent) {} ... } public class SftpclientPasswordChangeRequestEvent { val prompt: String? var newPassword: String? var cancel: Boolean }
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.