summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qmf/ConsoleSession.cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2011-02-11 04:14:59 +0000
committerTed Ross <tross@apache.org>2011-02-11 04:14:59 +0000
commitef8ed04b99e5712f183d83c6ab0b9b60a1657d87 (patch)
tree8d443cda1ca0cf926785431e6108977149b1cf43 /qpid/cpp/src/qmf/ConsoleSession.cpp
parentd14a411199dd355c2d08a22abbdddfe656955cce (diff)
downloadqpid-python-ef8ed04b99e5712f183d83c6ab0b9b60a1657d87.tar.gz
QPID-3046 - Refactored so that Connection::getAuthenticatedUsername is consulted each time
a sent message is annotated with the user-id. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1069673 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf/ConsoleSession.cpp')
-rw-r--r--qpid/cpp/src/qmf/ConsoleSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qmf/ConsoleSession.cpp b/qpid/cpp/src/qmf/ConsoleSession.cpp
index f85b618891..e12c1152f6 100644
--- a/qpid/cpp/src/qmf/ConsoleSession.cpp
+++ b/qpid/cpp/src/qmf/ConsoleSession.cpp
@@ -65,7 +65,7 @@ Subscription ConsoleSession::subscribe(const string& q, const string& f, const s
//========================================================================================
ConsoleSessionImpl::ConsoleSessionImpl(Connection& c, const string& options) :
- connection(c), domain("default"), authUser(c.getAuthenticatedUsername()), maxAgentAgeMinutes(5),
+ connection(c), domain("default"), maxAgentAgeMinutes(5),
opened(false), thread(0), threadCanceled(false), lastVisit(0), lastAgePass(0),
connectedBrokerInAgentList(false), schemaCache(new SchemaCache())
{