SecureBlackbox 2020 Java Edition

Questions / Feedback?

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 class fires this event to pass the password change request from the server to the application. This event is fired during the SSH handshake.

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