summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5890: Refactor AclModuleCharles E. Rolke2014-07-135-121/+125
| | | | | | | | | | Remove AclHelper::loaValidationMap() function from AclLexer and replace it with new logic in AclValidator. See https://reviews.apache.org/r/23447/ for a visual diff of the changes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1610195 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5890: Improve Acl enum verificationCharles E. Rolke2014-07-121-13/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609900 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5890: Refactoring AclModule.hCharles E. Rolke2014-07-114-176/+257
| | | | | | | | | | | | | * make single instances of strings associated with enums * make more compact search functions * make string definitions const * return 'const string&' instead of copies of temporaries * add self test as string defs sanity check * export AclHelper to satisfy tests (!!) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609828 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5887: abort transactional session of failover.Charles E. Rolke2014-07-111-1/+1
| | | | | | qpid-txtest2.cpp requires new EXTERN git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5887: abort transactional session on failover; added equivalent of ↵Gordon Sim2014-07-114-10/+336
| | | | | | txtest using messaging API git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5890: Refactor AclModule.hCharles E. Rolke2014-07-114-437/+511
| | | | | | | | | Move code from .h file into AclLexer source module. Does not change basic function structure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5858: Remove unneeded line that generates a warning on Windows VS2010.Charles E. Rolke2014-07-111-1/+0
| | | | | | | | | 2> MessagingSessionTests.cpp 2>..\..\..\cpp\src\tests\MessagingSessionTests.cpp(1438): warning C4930: 'std::string queue(void)': prototyped function not called (was a variable definition intended?) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609726 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: BrokerStartupTest now deletes Broker config left by previous test ↵Keith Wall2014-07-111-0/+7
| | | | | | run, to avoid failure if not cleaned between runs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609641 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [C++ broker book] HA chapter: minor cleanup.Alan Conway2014-07-101-33/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609495 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [C++ broker book] Fixed table errors in Security.xml, causing PDF ↵Alan Conway2014-07-101-62/+58
| | | | | | generation to fail. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609494 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Test Framework] PortHelper, apply socket option *before* ↵Keith Wall2014-07-101-15/+11
| | | | | | | | | binding the socket * Also removed the datagramsocket bind. We don't used datagram sockets at all at the moment, so the complication/overhead seems unjustifiable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609454 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5886: Get windows to export the Handle<CompletonImpl> methods.Charles E. Rolke2014-07-104-6/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609444 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: qpid-send help: copy&paste typo fixedPavel Moravec2014-07-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1609098 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5870 A Consumer is now marked if it's using a durable subscription.Rajith Muditha Attapattu2014-07-084-11/+35
| | | | | | The topic subscription queue is now deleted when the subscription ends unless it's marked as a durable-topic-subscription. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5885: [Java Broker] Virtualhostnode to replace real virtualhost with ↵Keith Wall2014-07-084-40/+21
| | | | | | replica virtualhost in the event that the BDB HA goes into detached state git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608956 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Make sure that test ↵Alex Rudyy2014-07-081-1/+12
| | | | | | ReplicatedEnvironmentFacadeTest.testIntruderNodeIsDetected always closes intruder environment git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608750 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5883: improve error message a little for 'no-mech' sasl errorGordon Sim2014-07-081-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608711 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5882: fix authentication failure on 1.0 codepathGordon Sim2014-07-075-30/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608578 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix defects found by coverity.Alan Conway2014-07-074-5/+5
| | | | | | | | | | | | | | | | | | To view the defects in Coverity Scan visit, http://scan.coverity.com/projects/6?tab=overview ** CID 1224524: Big parameter passed by value (PASS_BY_VALUE) /qpidbuilds/trunk/qpid/cpp/src/tests/BrokerFixture.h: 155 in qpid::tests::SessionFixtureT<qpid::tests::LocalConnection, qpid::client::Session_0_10>::SessionFixtureT(qpid::broker::BrokerOptions)() ** CID 1224525: Big parameter passed by value (PASS_BY_VALUE) /qpidbuilds/trunk/qpid/cpp/src/tests/ClientSessionTest.cpp: 108 in qpid::tests::ClientSessionFixture::ClientSessionFixture(qpid::broker::BrokerOptions)() ** CID 1224526: Big parameter passed by value (PASS_BY_VALUE) /qpidbuilds/trunk/qpid/cpp/src/tests/MessagingFixture.h: 106 in qpid::tests::MessagingFixture::MessagingFixture(qpid::broker::BrokerOptions, bool)() ** CID 1224527: Wrapper object use after free (WRAPPER_ESCAPE) /qpidbuilds/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp: 276 in qpid::broker::CyrusAuthenticator::init()() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608487 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5823]: Python client should create a node with name starting '\#'Pavel Moravec2014-07-072-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5879 : [Java Broker] JsonConfigStore should take deep copy of ↵Robert Godfrey2014-07-062-9/+21
| | | | | | ConfiguredObjectRecord objects git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5878 : [Java Broker] Add SCRAM-SHA-256 SASL supportRobert Godfrey2014-07-0615-683/+983
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608295 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5820: added better fix to the problem of arguments not being set. The ↵Fraser Adams2014-07-062-5/+1
| | | | | | real issue turned out to be that the create method on BindingImpl was being called by AbstractExchange after it called addBinding, but the addBinding method is the one that results in the QMF Binding instance being created. In other words the QMF Binding instance was getting constructed before the resolveAutomatedAttribute stuff git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608201 13f79535-47bb-0310-9956-ffa450edef68
* JIRA:QPID-5820 Added some defensive code to qmf-ui.js to protect against the ↵Fraser Adams2014-07-052-2/+3
| | | | | | case when null binding arguments get returned. Fixed bug in broker-core BindingImpl.java whereby the binding arguments were not being set on construction which caused getArguments to always return null git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5610: update readme to detail usage of the copy-broker profileRobert Gemmell2014-07-041-4/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607921 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5610: add a profile to optionally extract the broker release artifact ↵Robert Gemmell2014-07-042-1/+70
| | | | | | and copy the QMF2 broker plugin into the lib dir git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607915 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5873: Exclude new ACL system tests from Json profile; fix ↵Keith Wall2014-07-042-2/+3
| | | | | | BDBHARemoteReplicationNodeTest unit test wrt monitor attribute git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607889 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5876: [Java Client] Highest delivery tag variable not reset after ↵Andrew MacBean2014-07-041-0/+1
| | | | | | | | failover and causes rejections to be sent Work by Keith Wall <kwall@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5873: [Java Broker] Allow ACL rules to be applied to VirtualHostNode ↵Keith Wall2014-07-0413-110/+778
| | | | | | | | | | | objects * ACL rules using the new operation VIRTUALHOSTNODE apply to VHN model objects. * ACL rules using the operation VIRTUALHOST apply to VH model objects for CREATE, UPDATE and DELETE. This is a change from previous version where BROKER operation permission was required. * For HA, VIRTUALHOSTNODE permission is required to perform updates on RemoteReplicationNodes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607868 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5877: [Java Broker] Potential for rejected messages to be resent out of ↵Andrew MacBean2014-07-041-1/+1
| | | | | | | | order Work completed by Keith Wall <kwall@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5875: Fix intruder protection system testAlex Rudyy2014-07-041-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5875: Exclude test ↵Alex Rudyy2014-07-041-0/+1
| | | | | | VirtualHostRestTest.testPutCreateVirtualHostUsingProfileNodeType from json profiles git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5867: Add intruder protection functionality for a cluster of BDB HA ↵Alex Rudyy2014-07-0419-28/+874
| | | | | | virtual host nodes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607772 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5874: Treat all empty selectors sensiblyAndrew Stitcher2014-07-034-16/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607739 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5806: Allow quoted syntax for non standard selector identifiersAndrew Stitcher2014-07-032-8/+10
| | | | | | - This matches the Java broker syntax for selectors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5869: Check that agent is not null before firing event.Charles E. Rolke2014-07-031-12/+24
| | | | | | | | Propagate Rajith's logic to the rest of the cases in Acl code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607634 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5866]: [C++ client] AMQP 1.0 closing session without closing receiver ↵Pavel Moravec2014-07-032-9/+11
| | | | | | first marks further messages as redelivered (previous commit not complete) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607628 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5866]: [C++ client] AMQP 1.0 closing session without closing receiver ↵Pavel Moravec2014-07-031-0/+8
| | | | | | first marks further messages as redelivered git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5871: Remove unused generated code and dependent codeAndrew Stitcher2014-07-0340-3396/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607521 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5869 Added a check to see if agent is null before firing the event.Rajith Muditha Attapattu2014-07-021-1/+3
| | | | | | There are other places in the code where this check is missing. Chuck will take care of them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607488 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: Removed unused header includesAndrew Stitcher2014-07-023-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607452 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: Deleted unnecessary header file includesAndrew Stitcher2014-07-012-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5859: Fix to allow listening to some interfaces to failAndrew Stitcher2014-07-011-21/+17
| | | | | | - but still listen to the succeeding ones git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: Refactored Broker::Options into its own independent classAndrew Stitcher2014-07-0129-154/+265
| | | | | | | | | | - Now called BrokerOptions - Added extra getters to Broker so that nothing else needs to know about BrokerOptions - Significantly reduces header coupling as lots of files include Broker.h, but now don't need Options.h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5865: Be more robust in face of system clock being changed:Andrew Stitcher2014-07-0119-65/+129
| | | | | | | | | | - Separate Wall clock time uses from other time * (assumed that any time with respect to the epoch is wallclock) - For Posix use CLOCK_MONOTONIC for all non wall clock purposes so that changing system time doesn't affect internal timekeeping - For Windows kept the same time keeping scheme. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607140 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5864]: [Python client] Provide better error description when SASL ↵Pavel Moravec2014-07-011-1/+5
| | | | | | required but no credentials provided git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607086 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5863]: qpid-config does not throws correct exception when binding ↵Pavel Moravec2014-07-011-1/+3
| | | | | | nonexisting exchange; fix from Zdenek Kraus git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5820: [Java QMF2 Plugin] changes to plugin owing to the Java Broker ↵Keith Wall2014-07-014-9/+9
| | | | | | | | | | model updates made during 0.29 * Used model getters rather than named attributes wherever possible Work done by Andrew MacBean <macbean@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607034 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed typo in a comment.Ted Ross2014-06-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1606929 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5820: [Java QMF2 Plugin] changes to plugin owing to the Java Broker ↵Keith Wall2014-06-304-64/+111
| | | | | | | | | | | | | | | model updates made during 0.29 * VHNs (virtualhostnodes) may exist within a VH (virtualhost) * Use Port#availableProtocols rather than Port#protocols when trying to find the AMQP port * Like the CPP Broker, Binding#arguments will be null if the binding was created with none. Note that the QMF plugin still does not support virtualhosts created at runtime. They'll be ignored until the next restart. Work done by Andrew MacBean <macbean@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1606812 13f79535-47bb-0310-9956-ffa450edef68