SecureBlackbox 2020 C++ Edition

Questions / Feedback?

AuthAttempt Event

Fires when a connected client makes an authentication attempt.

Syntax

ANSI (Cross Platform)
virtual int FireAuthAttempt(TSPServerAuthAttemptEventParams *e);
typedef struct {
int64 ConnectionID;
const char *Username;
const char *Password;
int Allow; int reserved; } TSPServerAuthAttemptEventParams; Unicode (Windows) virtual INT FireAuthAttempt(TSPServerAuthAttemptEventParams *e);
typedef struct {
LONG64 ConnectionID;
LPCWSTR Username;
LPCWSTR Password;
BOOL Allow; INT reserved; } TSPServerAuthAttemptEventParams;
- (void)onAuthAttempt:(long long)connectionID :(NSString*)username :(NSString*)password :(int*)allow;
#define EID_TSPSERVER_AUTHATTEMPT 2

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.

ConnectionID contains the unique session identifier for that client, and 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]