SecureBlackbox 2020 Qt Edition

Questions / Feedback?

AuthAttempt Event

Fires when a connected client makes an authentication attempt.

Syntax

class KMIPServerAuthAttemptEventParams {
public:
  qint64 ConnectionId();
  const QString &Username();
  const QString &Password();
  bool Allow();
  void SetAllow(bool bAllow);
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void AuthAttempt(KMIPServerAuthAttemptEventParams *e);
// Or, subclass KMIPServer and override this emitter function. virtual int FireAuthAttempt(KMIPServerAuthAttemptEventParams *e) {...}

Remarks

The class fires this event whenever a client attempts to authenticate itself. Use the Allow parameter to let the client through.

Username and Password contain the professed credentials.

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