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

Detailed Description

Implements HTTP Digest authentication.

Please see the User Authentication documentation for more information.

#include <DigestAuthenticator.h>

Inheritance diagram for DigestAuthenticator:

Public Member Functions

 DigestAuthenticator ()
 Leave storage uninitialized; call DigestAuthenticator_constructor before use. More...
 
 DigestAuthenticator (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...
 
void setStrictMode (bool enableStrictMode=false)
 Control repeated Digest validation for an authenticated session. More...
 
- Public Member Functions inherited from AuthenticatorIntf
 AuthenticatorIntf (AuthenticatorIntf_Authenticate authenticate)
 Install an authentication callback. More...
 
AuthenticatedUserauthenticate (const char *relPath, HttpCommand *cmd)
 Authenticate the user. More...
 

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ DigestAuthenticator()

DigestAuthenticator::DigestAuthenticator ( )

Leave storage uninitialized; call DigestAuthenticator_constructor before use.