00001 // -*- C++ -*- 00002 // 00003 // $Id: HTTP_BasicAuthentication.inl 91132 2010-07-20 05:28:27Z mcorino $ 00004 00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 namespace ACE 00008 { 00009 namespace HTTP 00010 { 00011 00012 ACE_INLINE 00013 void BasicAuthentication::user (const ACE_CString& usr) 00014 { 00015 this->user_ = usr; 00016 } 00017 00018 ACE_INLINE 00019 const ACE_CString& BasicAuthentication::user () const 00020 { 00021 return this->user_; 00022 } 00023 00024 ACE_INLINE 00025 void BasicAuthentication::password (const ACE_CString& passwd) 00026 { 00027 this->passwd_ = passwd; 00028 } 00029 00030 ACE_INLINE 00031 const ACE_CString& BasicAuthentication::password () const 00032 { 00033 return this->passwd_; 00034 } 00035 00036 } 00037 } 00038 00039 ACE_END_VERSIONED_NAMESPACE_DECL