SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

AuthPublicKey Event

This event is fired on public key authentication attempt from a client.

Syntax

public open class DefaultSftpserverEventListener : SftpserverEventListener {
  ...
  public override fun authPublicKey(e: SftpserverAuthPublicKeyEvent) {}
  ...
}

public class SftpserverAuthPublicKeyEvent {
  val connectionID: Long
  val username: String?
  var accept: Boolean
}

Remarks

Username specifies client's username, and Accept is used to accept or reject authentication.

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