From 83cd0d00a444d1e1b5f8e15135bf377eba03388d Mon Sep 17 00:00:00 2001 From: "Charles E. Rolke" Date: Fri, 10 Aug 2012 17:19:51 +0000 Subject: QPID-4142 C++ Broker connection counting gets usernames confused when various auth mechanism are used. The issue is that the connection's userId is changed as the auth progresses. Also, the shadowed connections change differently from the non-shadowed connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1371772 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/AclModule.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpp/src/qpid/broker/AclModule.h') diff --git a/cpp/src/qpid/broker/AclModule.h b/cpp/src/qpid/broker/AclModule.h index 7c180439cf..f1eb0fc5f9 100644 --- a/cpp/src/qpid/broker/AclModule.h +++ b/cpp/src/qpid/broker/AclModule.h @@ -145,6 +145,10 @@ namespace broker { */ virtual bool approveConnection (const Connection& connection)=0; + /** Change connection's counted userId + */ + virtual void setUserId(const Connection& connection, const std::string& username)=0; + virtual ~AclModule() {}; }; } // namespace broker -- cgit v1.2.1