SecureBlackbox 2020 C++ Edition

Questions / Feedback?

AuthAttempt Event

Fires when a connected client makes an authentication attempt.

Syntax

ANSI (Cross Platform)
virtual int FireAuthAttempt(KMIPServerAuthAttemptEventParams *e);
typedef struct {
int64 ConnectionId;
const char *Username;
const char *Password;
int Allow; int reserved; } KMIPServerAuthAttemptEventParams; Unicode (Windows) virtual INT FireAuthAttempt(KMIPServerAuthAttemptEventParams *e);
typedef struct {
LONG64 ConnectionId;
LPCWSTR Username;
LPCWSTR Password;
BOOL Allow; INT reserved; } KMIPServerAuthAttemptEventParams;
- (void)onAuthAttempt:(long long)connectionId :(NSString*)username :(NSString*)password :(int*)allow;
#define EID_KMIPSERVER_AUTHATTEMPT 3

virtual INT SECUREBLACKBOX_CALL FireAuthAttempt(LONG64 &lConnectionId, LPSTR &lpszUsername, LPSTR &lpszPassword, BOOL &bAllow);

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 C++ Edition - Version 20.0 [Build 8166]