diff options
| author | Charles E. Rolke <chug@apache.org> | 2012-08-10 17:19:51 +0000 |
|---|---|---|
| committer | Charles E. Rolke <chug@apache.org> | 2012-08-10 17:19:51 +0000 |
| commit | 83cd0d00a444d1e1b5f8e15135bf377eba03388d (patch) | |
| tree | 3e188ba92b1c822b06732b3bedfa8ee4a59a20e1 /cpp/src/qpid/broker/AclModule.h | |
| parent | a4c9bc20238bf256b919c8ba5c32c8b056130041 (diff) | |
| download | qpid-python-83cd0d00a444d1e1b5f8e15135bf377eba03388d.tar.gz | |
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
Diffstat (limited to 'cpp/src/qpid/broker/AclModule.h')
| -rw-r--r-- | cpp/src/qpid/broker/AclModule.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
