Logo Search packages:      
Sourcecode: pwlib version File versions

PHTTPAuthority Class Reference

#include <http.h>

Inheritance diagram for PHTTPAuthority:

PObject PHTTPMultiSimpAuth PHTTPSimpleAuth

List of all members.

Detailed Description

This abstract class describes the authorisation mechanism for a Universal Resource Locator.

Definition at line 975 of file http.h.

Comparison functions

virtual Comparison Compare (const PObject &obj) const
virtual Comparison CompareObjectMemoryDirect (const PObject &obj) const
bool operator!= (const PObject &obj) const
bool operator< (const PObject &obj) const
bool operator<= (const PObject &obj) const
bool operator== (const PObject &obj) const
bool operator> (const PObject &obj) const
bool operator>= (const PObject &obj) const
enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
virtual BOOL InternalIsDescendant (const char *clsName) const
BOOL IsClass (const char *cls) const
static const char * Class ()

I/O functions

virtual void PrintOn (ostream &strm) const
virtual void ReadFrom (istream &strm)
ostream & operator<< (ostream &strm, const PObject &obj)
istream & operator>> (istream &strm, PObject &obj)

Public Member Functions

virtual PString GetRealm (const PHTTPRequest &request) const =0
virtual BOOL IsActive () const
virtual BOOL Validate (const PHTTPRequest &request, const PString &authInfo) const =0
Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const

Static Protected Member Functions

static void DecodeBasicAuthority (const PString &authInfo, PString &username, PString &password)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index