PasswordChangeRequest Event
This event is fired when a password change is requested.
Syntax
public open class DefaultSshclientEventListener : SshclientEventListener { ... public override fun passwordChangeRequest(e: SshclientPasswordChangeRequestEvent) {} ... } public class SshclientPasswordChangeRequestEvent { val prompt: String? var newPassword: String? var cancel: Boolean }
Remarks
This event is fired by the component 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.