This abstract class describes the authorisation mechanism for a Universal Resource Locator.
More...
Public Member Functions |
| virtual PString | GetRealm (const PHTTPRequest &request) const =0 |
| | Get the realm or name space for the user authorisation name and password as required by the basic authorisation system of HTTP/1.0.
|
| virtual PBoolean | Validate (const PHTTPRequest &request, const PString &authInfo) const =0 |
| | Validate the user and password provided by the remote HTTP client for the realm specified by the class instance.
|
| virtual PBoolean | IsActive () const |
| | Determine if the authorisation is to be applied.
|
| virtual | ~PObject () |
| virtual PObject * | Clone () const |
| | Create a copy of the class on the heap.
|
| virtual PINDEX | HashFunction () const |
| | This function yields a hash value required by the PDictionary class.
|
| virtual Comparison | Compare (const PObject &obj) const |
| | Compare the two objects and return their relative rank.
|
| virtual Comparison | CompareObjectMemoryDirect (const PObject &obj) const |
| | Determine the byte wise comparison of two objects.
|
| bool | operator== (const PObject &obj) const |
| | Compare the two objects.
|
| bool | operator!= (const PObject &obj) const |
| | Compare the two objects.
|
| bool | operator< (const PObject &obj) const |
| | Compare the two objects.
|
| bool | operator> (const PObject &obj) const |
| | Compare the two objects.
|
| bool | operator<= (const PObject &obj) const |
| | Compare the two objects.
|
| bool | operator>= (const PObject &obj) const |
| | Compare the two objects.
|
| virtual const char * | GetClass (unsigned ancestor=0) const |
| | Get the current dynamic type of the object instance.
|
| PBoolean | IsClass (const char *cls) const |
| virtual PBoolean | InternalIsDescendant (const char *clsName) const |
| | Determine if the dynamic type of the current instance is a descendent of the specified class.
|
| virtual void | PrintOn (ostream &strm) const |
| | Output the contents of the object to the stream.
|
| virtual void | ReadFrom (istream &strm) |
| | Input the contents of the object from the stream.
|
This abstract class describes the authorisation mechanism for a Universal Resource Locator.