SecureBlackbox 2020 Java Edition

Questions / Feedback?

AuthPassword Event

This event is fired on password authentication attempt from a client.

Syntax

public class DefaultSftpserverEventListener implements SftpserverEventListener {
  ...
  public void authPassword(SftpserverAuthPasswordEvent e) {}
  ...
}

public class SftpserverAuthPasswordEvent {
  public long connectionID;
  public String username;
  public String password;
  public boolean accept;
  public boolean forceChangePassword;
}

Remarks

Parameters Username and Password contain user credentials. If they are correct, set Accept to true. You can request password change by setting ForceChangePassword to true.

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