Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
BasicAuthenticator Struct Reference

Detailed Description

Implements HTTP Basic authentication.

Please see the User Authentication documentation for more information.

#include <BasicAuthenticator.h>

Inheritance diagram for BasicAuthenticator:

Public Member Functions

 BasicAuthenticator ()
 Leave storage uninitialized; call BasicAuthenticator_constructor before use. More...
 
 BasicAuthenticator (UserIntf *userDbIntf, const char *realm, LoginRespIntf *sendLogin)
 Construct an authenticator using application-provided user lookup. More...
 
void setLoginTracker (LoginTracker *tracker)
 Configure login-attempt tracking. More...
 
- Public Member Functions inherited from AuthenticatorIntf
 AuthenticatorIntf (AuthenticatorIntf_Authenticate authenticate)
 Install an authentication callback. More...
 
AuthenticatedUser * authenticate (const char *relPath, HttpCommand *cmd)
 Authenticate the user. More...
 

Static Public Member Functions

static int setAutHeader (const char *realm, HttpResponse *response)
 Sets an HTTP Basic authentication challenge and status code. More...
 

Constructor & Destructor Documentation

◆ BasicAuthenticator()

BasicAuthenticator::BasicAuthenticator ( )

Leave storage uninitialized; call BasicAuthenticator_constructor before use.