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

Detailed Description

This class implements HTTP Basic and HTTP Digest authentication.

The client selects the HTTP authentication method it wants to use. The authenticator also handles the domain name prefix added to the user name by many Microsoft HTTP clients.

This class was specifically designed for our WebDAV plugin, but the authenticator is also useful when authenticating non-browser clients in a mixed environment.

#include <DavAuth.h>

Inheritance diagram for DavAuth:

Public Member Functions

 DavAuth (UserIntf *userDbIntf, const char *realm)
 Construct an authenticator using application-provided user lookup. More...
 
BasicAuthenticator * getBasicAuth ()
 Access the embedded Basic authenticator. More...
 
DigestAuthenticator * getDigestAuth ()
 Access the embedded Digest authenticator. 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...