From c39cf6845d6d946665b36611152f7702a6b1074f Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 30 Jan 2008 12:18:53 +0000 Subject: Parse out the userid and password from the response; a small step on the road to authentication. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@616736 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Connection.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cpp/src/qpid/broker/Connection.cpp') diff --git a/cpp/src/qpid/broker/Connection.cpp b/cpp/src/qpid/broker/Connection.cpp index fbe018e8ae..5ede40c825 100644 --- a/cpp/src/qpid/broker/Connection.cpp +++ b/cpp/src/qpid/broker/Connection.cpp @@ -181,6 +181,16 @@ Manageable::status_t Connection::ManagementMethod (uint32_t methodId, return status; } +void Connection::setUserId(const string& uid) +{ + userId = uid; + QPID_LOG (debug, "UserId is " << userId); +} + +const string& Connection::getUserId() const +{ + return userId; +} }} -- cgit v1.2.1