diff options
| author | Gordon Sim <gsim@apache.org> | 2008-01-30 12:18:53 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-01-30 12:18:53 +0000 |
| commit | c39cf6845d6d946665b36611152f7702a6b1074f (patch) | |
| tree | 6b1bf9ae06d1b3f02e7b48dd2f80551283f96892 /cpp/src/qpid/broker/Connection.cpp | |
| parent | 7066706051ebaa4e68570eeb7413c95c549ab35b (diff) | |
| download | qpid-python-c39cf6845d6d946665b36611152f7702a6b1074f.tar.gz | |
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
Diffstat (limited to 'cpp/src/qpid/broker/Connection.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Connection.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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; +} }} |
