Class BasicHttpAuthorizer. Implements HTTP Basic authentication method.
More...
#include <BasicHttpAuthorizer.hpp>
Class BasicHttpAuthorizer. Implements HTTP Basic authentication method.
OpenAB::BasicHttpAuthorizer::BasicHttpAuthorizer |
( |
| ) |
|
OpenAB::BasicHttpAuthorizer::~BasicHttpAuthorizer |
( |
| ) |
|
|
virtual |
Destructor, virtual by default.
bool OpenAB::BasicHttpAuthorizer::authorizeMessage |
( |
HttpMessage * |
msg | ) |
|
|
virtual |
Authorizes message.
- Parameters
-
msg | message to be authorized. |
- Returns
- true if message was authorized successfully, false otherwise.
Implements OpenAB::HttpAuthorizer.
void OpenAB::BasicHttpAuthorizer::setCredentials |
( |
const std::string & |
login, |
|
|
const OpenAB::SecureString & |
password |
|
) |
| |
Sets user credentials.
- Parameters
-
[in] | login | user login. |
[in] | password | user password. |
The documentation for this class was generated from the following files: