summaryrefslogtreecommitdiff
path: root/ACE/protocols/ace/INet/HTTP_BasicAuthentication.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols/ace/INet/HTTP_BasicAuthentication.inl')
-rw-r--r--ACE/protocols/ace/INet/HTTP_BasicAuthentication.inl39
1 files changed, 39 insertions, 0 deletions
diff --git a/ACE/protocols/ace/INet/HTTP_BasicAuthentication.inl b/ACE/protocols/ace/INet/HTTP_BasicAuthentication.inl
new file mode 100644
index 00000000000..56b7a2fbcba
--- /dev/null
+++ b/ACE/protocols/ace/INet/HTTP_BasicAuthentication.inl
@@ -0,0 +1,39 @@
+// -*- C++ -*-
+//
+// $Id$
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+namespace ACE
+{
+ namespace HTTP
+ {
+
+ ACE_INLINE
+ void BasicAuthentication::user (const ACE_CString& usr)
+ {
+ this->user_ = usr;
+ }
+
+ ACE_INLINE
+ const ACE_CString& BasicAuthentication::user () const
+ {
+ return this->user_;
+ }
+
+ ACE_INLINE
+ void BasicAuthentication::password (const ACE_CString& passwd)
+ {
+ this->passwd_ = passwd;
+ }
+
+ ACE_INLINE
+ const ACE_CString& BasicAuthentication::password () const
+ {
+ return this->passwd_;
+ }
+
+ }
+}
+
+ACE_END_VERSIONED_NAMESPACE_DECL