SecureBlackbox Lite 2020 Kotlin Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Kotlin Edition - Version 20.0 [Build 8063]