#include <http.h>
Inheritance diagram for PHTTPAuthority:
Public Member Functions | |
virtual PString | GetRealm (const PHTTPRequest &request) const =0 |
virtual BOOL | Validate (const PHTTPRequest &request, const PString &authInfo) const =0 |
virtual BOOL | IsActive () const |
Static Protected Member Functions | |
static void | DecodeBasicAuthority (const PString &authInfo, PString &username, PString &password) |
|
|
|
Get the realm or name space for the user authorisation name and password as required by the basic authorisation system of HTTP/1.0.
Implemented in PHTTPSimpleAuth, and PHTTPMultiSimpAuth. |
|
Determine if the authirisation is to be applied. This could be used to distinguish between net requiring authorisation and requiring autorisation but having no password. The default behaviour is to return TRUE.
Reimplemented in PHTTPSimpleAuth, and PHTTPMultiSimpAuth. |
|
Validate the user and password provided by the remote HTTP client for the realm specified by the class instance.
Implemented in PHTTPSimpleAuth, and PHTTPMultiSimpAuth. |