summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/acl/AclConnectionCounter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4631: C++ Broker federated links are protected by ACL policy.Charles E. Rolke2013-04-291-1/+0
| | | | | | | | | This issue evolved a bit between the original discussion and the final commit. See https://reviews.apache.org/r/10658/ for the details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1477112 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4054 C++ Broker connection limits per userCharles E. Rolke2013-02-091-42/+43
| | | | | | | | | | | | | | 1. Constrain maximum limits to be a few ticks below Uint16_t max to avoid inadvertent wrapping and to allow room for some named constants such as UNLIMITED. 2. Add syntax to Acl rule file quota connections N user|group [user|group] 3. Pseudo user 'all' receives value from command line switch or from Acl rule file. 4. Named constant strings used in comparisons instead of local strings. 5. Connection counts maintained all the time to support reolad of Acl rule file that may change limits. 6. Self tests exercise all the features. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1444302 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: AclConnectionCounterAlan Conway2012-12-191-61/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1424124 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4142 C++ Broker connection counting. Revert r1371772 which applied only ↵Charles E. Rolke2012-09-071-41/+0
| | | | | | to 0.18 and is obsolete on trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1382155 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4142 C++ Broker connection counting gets usernames confused Charles E. Rolke2012-08-101-0/+41
| | | | | | | | | | 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
* QPID-4022 C++ Broker connection limits corrections for cluster.Charles E. Rolke2012-06-151-32/+63
| | | | | | | Never throw in event of shadow connection going over any limit and issue error messages describing cluster decisions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1350747 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4022 C++ Broker connection limits by host ip and by user name.Charles E. Rolke2012-06-111-57/+136
| | | | | | | | | | | Rework the strategy to deny connections based on configured limits. All limits checked in one function from points in broker when the user's authenticated name is known. Denied connections receive the AMQP exception instead of getting the socket closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1348707 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2616 Count and limit client connections.Charles E. Rolke2012-05-021-5/+5
| | | | | | | | Bug fix: use Connection.getUserId() and not getUsername() to identify user and upgrade selftest to match. Add comment to Connection.h to suggest the particular pitfall. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1333110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2616 Count and limit client connections.Charles E. Rolke2012-05-011-4/+7
| | | | | | | | Add management statistic and event to record denied connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1332788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2616 Count and limit client connectionsCharles E. Rolke2012-04-271-0/+211
Limit client connections by name and by host address. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1331549 13f79535-47bb-0310-9956-ffa450edef68