SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

AuthPassword Event

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

Syntax

public open class DefaultSftpserverEventListener : SftpserverEventListener {
  ...
  public override fun authPassword(e: SftpserverAuthPasswordEvent) {}
  ...
}

public class SftpserverAuthPasswordEvent {
  val connectionID: Long
  val username: String?
  val password: String?
  var accept: Boolean
  var forceChangePassword: Boolean
}

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 Kotlin Edition - Version 20.0 [Build 8063]