|
ACE_INet
6.0.7
|
#include <HTTP_BasicAuthentication.h>

Public Member Functions | |
| BasicAuthentication () | |
| Constructor. | |
| BasicAuthentication (const ACE_CString &user, const ACE_CString &passwd) | |
| Constructor. Sets user id and password. | |
| BasicAuthentication (const Request &request) | |
| Constructor. Decodes cedentials from request (if any). | |
| virtual | ~BasicAuthentication () |
| Destructor. | |
| void | user (const ACE_CString &user) |
| Set user id. | |
| const ACE_CString & | user () const |
| Get user id. | |
| void | password (const ACE_CString &passwd) |
| Set password. | |
| const ACE_CString & | password () const |
| Get password. | |
| void | set_credentials (Request &request) const |
| Add authentication header with encoded credentials to request. | |
Static Public Attributes | |
| static const char * | SCHEME = "Basic" |
Private Member Functions | |
| BasicAuthentication (const BasicAuthentication &) | |
| BasicAuthentication & | operator= (BasicAuthentication &) |
Private Attributes | |
| ACE_CString | user_ |
| ACE_CString | passwd_ |
| ACE::HTTP::BasicAuthentication::BasicAuthentication | ( | ) |
Constructor.
| ACE::HTTP::BasicAuthentication::BasicAuthentication | ( | const ACE_CString & | user, |
| const ACE_CString & | passwd | ||
| ) |
Constructor. Sets user id and password.
| ACE::HTTP::BasicAuthentication::BasicAuthentication | ( | const Request & | request | ) |
Constructor. Decodes cedentials from request (if any).
| ACE::HTTP::BasicAuthentication::~BasicAuthentication | ( | ) | [virtual] |
Destructor.
| ACE::HTTP::BasicAuthentication::BasicAuthentication | ( | const BasicAuthentication & | ) | [private] |
| BasicAuthentication& ACE::HTTP::BasicAuthentication::operator= | ( | BasicAuthentication & | ) | [private] |
| void ACE::HTTP::BasicAuthentication::password | ( | const ACE_CString & | passwd | ) | [inline] |
Set password.
| const ACE_CString & ACE::HTTP::BasicAuthentication::password | ( | ) | const [inline] |
Get password.
| void ACE::HTTP::BasicAuthentication::set_credentials | ( | Request & | request | ) | const |
Add authentication header with encoded credentials to request.
| void ACE::HTTP::BasicAuthentication::user | ( | const ACE_CString & | user | ) | [inline] |
Set user id.
| const ACE_CString & ACE::HTTP::BasicAuthentication::user | ( | ) | const [inline] |
Get user id.
const char * ACE::HTTP::BasicAuthentication::SCHEME = "Basic" [static] |
1.7.5