40#include "BasicAuthenticator.h"
41#include "DigestAuthenticator.h"
95BA_API
void DavAuth_constructor(
DavAuth* o,
99BA_API
void DavAuth_destructor(
DavAuth* o);
100#define DavAuth_getBasicAuth(o) (&(o)->basicAuth)
101#define DavAuth_getDigestAuth(o) (&(o)->digestAuth)
102#define DavAuth_setLoginTracker(o, loginTracker) do{\
103 BasicAuthenticator_setLoginTracker(&(o)->basicAuth, loginTracker);\
104 DigestAuthenticator_setLoginTracker(&(o)->digestAuth, loginTracker);\
109 DavAuth_constructor(
this, userDbIntf, realm);
112 return DavAuth_getBasicAuth(
this);
115 return DavAuth_getDigestAuth(
this);
118 DavAuth_setLoginTracker(
this, tracker);
DigestAuthenticator * getDigestAuth()
Get the internal DigestAuthenticator.
Definition: DavAuth.h:114
BasicAuthenticator * getBasicAuth()
Get the internal BasicAuthenticator.
Definition: DavAuth.h:111
DavAuth(UserIntf *userDbIntf, const char *realm)
Create a DavAuth instance.
Definition: DavAuth.h:108
void setLoginTracker(LoginTracker *tracker)
Prevent dictionary attacks.
Definition: DavAuth.h:117
Abstract interface class implemented by DigestAuthenticator, FormAuthenticator and DigestAuthenticato...
Definition: AuthenticatedUser.h:395
Implements Basic Authentication.
Definition: BasicAuthenticator.h:54
This class implements HTTP Basic and HTTP Digest authentication.
Definition: DavAuth.h:62
Implements Digest Authentication.
Definition: DigestAuthenticator.h:55
The LoginRespIntf is an abstract class, which must be implemented when using one of DigestAuthenticat...
Definition: AuthenticatedUser.h:460
The LoginTracker class is an optional security enhancement that can be installed in an instance of on...
Definition: AuthenticatedUser.h:812
Interface class used by the Authentication classes.
Definition: AuthenticatedUser.h:174