ACE_INet
6.0.7
|
#include <URLBase.h>
Public Member Functions | |
URL_INetAuthBase (u_short port) | |
virtual | ~URL_INetAuthBase () |
const ACE_CString & | get_user_info () const |
void | set_user_info (const ACE_CString &userinfo) |
virtual ACE_CString | get_authority () const |
Static Public Member Functions | |
static bool | add_authenticator (const ACE_CString &auth_id, AuthenticatorBase *authenticator) |
static bool | has_authenticator (const ACE_CString &auth_id) |
static AuthenticatorBase * | remove_authenticator (const ACE_CString &auth_id) |
static bool | authenticate (AuthenticationBase &authentication) |
Protected Member Functions | |
virtual int | parse_authority (std::istream &is) |
Private Types | |
typedef ACE_Refcounted_Auto_Ptr < AuthenticatorBase, ACE_SYNCH::NULL_MUTEX > | authenticator_ptr |
typedef ACE_Map_Manager < ACE_CString, authenticator_ptr, ACE_SYNCH::RECURSIVE_MUTEX > | authenticator_map |
Private Attributes | |
ACE_CString | userinfo_ |
Static Private Attributes | |
static authenticator_map | authenticators_ |
typedef ACE_Map_Manager<ACE_CString, authenticator_ptr, ACE_SYNCH::RECURSIVE_MUTEX> ACE::INet::URL_INetAuthBase::authenticator_map [private] |
typedef ACE_Refcounted_Auto_Ptr<AuthenticatorBase, ACE_SYNCH::NULL_MUTEX> ACE::INet::URL_INetAuthBase::authenticator_ptr [private] |
ACE::INet::URL_INetAuthBase::URL_INetAuthBase | ( | u_short | port | ) |
ACE::INet::URL_INetAuthBase::~URL_INetAuthBase | ( | ) | [virtual] |
bool ACE::INet::URL_INetAuthBase::add_authenticator | ( | const ACE_CString & | auth_id, |
AuthenticatorBase * | authenticator | ||
) | [static] |
bool ACE::INet::URL_INetAuthBase::authenticate | ( | AuthenticationBase & | authentication | ) | [static] |
ACE_CString ACE::INet::URL_INetAuthBase::get_authority | ( | ) | const [virtual] |
Reimplemented from ACE::INet::URL_INetBase.
const ACE_CString & ACE::INet::URL_INetAuthBase::get_user_info | ( | ) | const [inline] |
bool ACE::INet::URL_INetAuthBase::has_authenticator | ( | const ACE_CString & | auth_id | ) | [static] |
int ACE::INet::URL_INetAuthBase::parse_authority | ( | std::istream & | is | ) | [protected, virtual] |
Reimplemented from ACE::INet::URL_INetBase.
AuthenticatorBase * ACE::INet::URL_INetAuthBase::remove_authenticator | ( | const ACE_CString & | auth_id | ) | [static] |
void ACE::INet::URL_INetAuthBase::set_user_info | ( | const ACE_CString & | userinfo | ) | [inline] |