summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3799-acl acl fixup - whitespaceQPID-3799-aclCharles E. Rolke2012-03-019-311/+311
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-3799-acl@1295616 13f79535-47bb-0310-9956-ffa450edef68
* Merge from trunk into branchCharles E. Rolke2012-02-272-3/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-3799-acl@1294294 13f79535-47bb-0310-9956-ffa450edef68
* Merge from trunk into branchCharles E. Rolke2012-02-27193-2386/+5331
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-3799-acl@1294242 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3799 revert files to r1292903 (no changes since branching)Charles E. Rolke2012-02-242-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-3799-acl@1293442 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3799 ACL processingCharles E. Rolke2012-02-2411-226/+651
| | | | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary #include AclModule.h in some broker .h files that cause overly aggressive recompilation. Rename acl file maxqueuesize keyword to queuemaxsizeupperlimit and maxqueuecount to queuemaxcountupperlimit. Keep maxqueuesize and maxqueuecount as aliases so old ACL files work. Add new queuemaxsizelowerlimit and queuemaxsizelowercount keywords to work in concert with the corresponding upperlimit settings. Add a MIN int limit check to prevent values being too small. Add a SpecProperty enumeration to define what is allowed in ACL files. This list is different from the Property enum that defines how run-time interfaces to ACL to authorize something. The two enums are needed as now a single run-time value such as qpid.max_size may be limit checked against two ACL rule settings queuemaxsizeupperlimit and queuemaxsizelowerlimit. Modify code to use SpecProperty where needed. Add comments. Reformat to reduce overall text width. Add use case tests to acl.py to exercise new code. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-3799-acl@1293411 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3799 ACL processingCharles E. Rolke2012-02-238-142/+408
| | | | | | | | | | 1. Reformat AclData::lookup function. 2. Break int limit comparison code out of lookup(). git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-3799-acl@1292905 13f79535-47bb-0310-9956-ffa450edef68
* Fix minor typos.Charles E. Rolke2012-02-231-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-3799-acl@1292902 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3799 ACL workCharles E. Rolke2012-02-216-157/+156
| | | | | | | | | | Print rule numbers using 1-based count scheme. Check rules from first to last. Add 'ACL: ' to all log messages. Elaborate on validator creation/hit/miss debug logs. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-3799-acl@1291989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3799 ACL processing - Don't delete rules, keep them all.Charles E. Rolke2012-02-203-165/+106
| | | | | | | | Keep original rule allow/deny setting with rule. Get rid of log/logonly bools. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-3799-acl@1291467 13f79535-47bb-0310-9956-ffa450edef68
* Create branch for ACL workCharles E. Rolke2012-02-200-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-3799-acl@1291401 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3095 : AMQBrokerDetails equals() and hashCode() methods do not adhere ↵Robert Godfrey2012-02-201-4/+4
| | | | | | to contract git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291353 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3857: remove the protected Impl method now that we dont need the ↵Robert Gemmell2012-02-202-8/+1
| | | | | | Session reference, and just call super.sessionAttach instead. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291345 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3857: Fix racing conditions on registering session in connection and ↵Robert Gemmell2012-02-202-1/+1
| | | | | | | | sending session.attached command. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291344 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1505 : PlainSaslServer throws and immediately catches and wraps Sasl ↵Robert Godfrey2012-02-202-28/+37
| | | | | | Exception git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2660 : AMQMessageDelegate_0_10 uses Byte.valueOf() when converting ↵Robert Godfrey2012-02-202-0/+57
| | | | | | String properties to short, int, and long values git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291260 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update the IO Interface required for supporting outbound client ↵Robert Gemmell2012-02-191-1/+1
| | | | | | connections git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291089 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3293: document additional I/O system propertiesRobert Gemmell2012-02-191-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291088 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update docs to mention new qpid.tcp_nodelay option instead of older ↵Robert Gemmell2012-02-191-6/+10
| | | | | | sytem property and add note of default change git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291087 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: improve cross referencing of config optionsRobert Gemmell2012-02-191-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3679: correct Connection URL related documentation about prefetch to ↵Robert Gemmell2012-02-191-4/+9
| | | | | | | | | indicate prefetch is per-consumer. Cross-reference with the system property related prefetch configuration option. Applied patch from Praveen Murugesan with some changes from myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291085 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3293: add new system properties for setting client send/receive buffer ↵Robert Gemmell2012-02-193-9/+78
| | | | | | sizes on connections, restore legacy properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291056 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3855: only increment activeConsumerCount during registration if the ↵Robert Gemmell2012-02-193-3/+68
| | | | | | subscription is active. Add unit test to identify the issue and check behaviour following various state change notifications. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3052: add internal and spawned test profiles for the 0-8 and 0-9 protocolsRobert Gemmell2012-02-1912-0/+410
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3827: FirewallConfigTests fail on FreeBSD Jenkins CI due to peer IP ↵Keith Wall2012-02-181-14/+26
| | | | | | reported as non-loopback git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1290908 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3854: SO_REUSEADDR should be applied to server socket before bind()Keith Wall2012-02-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1290907 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added extra logging to better understand FailoverMethodTest failure ↵Keith Wall2012-02-181-23/+18
| | | | | | on Apache Jenkins Freebsd slaves. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245926 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: update expired test SSL certificateRobert Gemmell2012-02-173-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245810 13f79535-47bb-0310-9956-ffa450edef68
* more fixes for compilation under fedora 18, new gccNuno Santos2012-02-173-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245757 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add HA tests to automake and cmake.Alan Conway2012-02-172-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245706 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA ACL whitespace police.Charles E. Rolke2012-02-176-1192/+1191
| | | | | | No code change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245660 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove out-of-date generated header in HaBroker.hAlan Conway2012-02-171-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603 - Added missing files to CMakeLists.txtTed Ross2012-02-171-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Merge new HA foundations.Alan Conway2012-02-1796-912/+4330
| | | | | | | Merged from qpid-3603-7. This is basic support for the new HA approach. For information & limitations see qpid/cpp/design_docs/new-ha-design.txt. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245587 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix acking bug in old perftests, add some logging to aid failure ↵Robert Gemmell2012-02-172-22/+8
| | | | | | analysis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245515 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3824 - Added new queue stats to qpid-stat."Alan Conway2012-02-172-80/+20
| | | | | | | | | | This reverts r1244646. It caused two tests to fail: cluster_tests.ShortTests.test_amqfailover_visible ................................... fail FAIL: run_cluster_tests FAIL: sasl_fed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245450 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3714: Fix defect in BasicContentHeaderPropertiesKeith Wall2012-02-171-2/+8
| | | | | | Fix defect in BasicContentHeaderProperties when deciding whether to use the cached encoded form. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245439 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: stop catching Throwable, we generally shouldnt continue when faced ↵Robert Gemmell2012-02-171-1/+1
| | | | | | with Errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245419 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3850: add switch into default uncaught exception handler to prevent the ↵Robert Gemmell2012-02-171-3/+7
| | | | | | | | broker from exiting if necessary Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245418 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3743: remove try-catch block on converting BDB message meta data entry ↵Robert Gemmell2012-02-171-20/+9
| | | | | | | | into StorableMessageMetaData Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245417 13f79535-47bb-0310-9956-ffa450edef68
* missing casts and include to be able to compile under fedora 18Nuno Santos2012-02-162-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245195 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3846: stop adding useless empty nodes for connections, exchanges, ↵Robert Gemmell2012-02-161-15/+1
| | | | | | | | queues when no virtual hosts are accessable Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3845: Change impact attribute for ShutdownMBean to ACTIONRobert Gemmell2012-02-161-3/+5
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3844: allow queryMBeans to succeed without ACL checking, tools like ↵Robert Gemmell2012-02-162-7/+25
| | | | | | | | JConsole / Qpid MC need this to function at all Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244946 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3843: ensure ACL rule evaluation for the ALL operation accounts for the ↵Robert Gemmell2012-02-163-27/+204
| | | | | | | | object type and properties. Fix length used for property wildcarding checks. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244934 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: exclude new python tests for the new QMF stats the broker does not ↵Robert Gemmell2012-02-161-0/+1
| | | | | | implement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244816 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3848: relax the enforcement of exchange type checking during passive ↵Robert Gemmell2012-02-152-2/+2
| | | | | | | | | exchange-declares to allow empty/null values Applied patch by Gordon Sim git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3847 - Fixed recursive ID generation when V1 and V2 are mixed.Ted Ross2012-02-151-4/+16
| | | | | | | Thanks to Siddhesh Poyarekar for his help with this issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244750 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed a backward-compatibility issue in the new qpid-statTed Ross2012-02-151-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244695 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3824 - Added new queue stats to qpid-stat.Ted Ross2012-02-152-20/+80
| | | | | | | | | Updated the arguments for qpid-stat: -b --broker now used to specify broker URL -g --general now used to get general broker stats git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244646 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix PYTHONPATH after QPID-3824Keith Wall2012-02-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244584 13f79535-47bb-0310-9956-ffa450edef68