summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* TestIoSession: default address and port to avoid illegal arguments when ↵Aidan Skinner2009-02-111-2/+2
| | | | | | creating an address. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743306 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'QPID-1583'Aidan Skinner2009-02-115-2/+557
| | | | | | | Conflicts: qpid/java/common/src/main/java/org/apache/qpid/util/NetMatcher.java git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743304 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused class and clean up some FIXME comments.Alan Conway2009-02-106-113/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743131 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster flow control bug: hang with large messages (>frame-max) and low ↵Alan Conway2009-02-1012-20/+40
| | | | | | --cluster-read-max. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743114 13f79535-47bb-0310-9956-ffa450edef68
* Change package, remove dependency on Java DNS serverAidan Skinner2009-02-101-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743029 13f79535-47bb-0310-9956-ffa450edef68
* Remove MockIoSession, replace with TestIoSession everywhere.Aidan Skinner2009-02-104-300/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743028 13f79535-47bb-0310-9956-ffa450edef68
* Borrow NetMatcher from JAMES. Should probably be moved to commons-net at ↵Aidan Skinner2009-02-101-0/+264
| | | | | | some point. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743015 13f79535-47bb-0310-9956-ffa450edef68
* Cluster support for message time-to-live.Alan Conway2009-02-0923-91/+421
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742774 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1626: Add per-virtualhost authorization plugins.Aidan Skinner2009-02-0925-243/+807
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PluginManager: add support for getting ACLPluginFactories from OSGi and the ones we already know about. *ApplicationRegistry*: return an ACLManager, not an ACLPlugin from getAccessManager. ACLManager: use PluginManager to get all the available plugins. When being asked to authorize a particular request, hold a vote amongst all the plugins as to whether to allow or deny access. ACLPlugin: return a ALLOWED/DENIED/ABSTAIN vote result. Fix typo in method name. ACLPluginFactory: Factory class for ACLPlugins. AccessResult: just use class SimpleName instead of getPluginName PrincipalPermissions: return AuthzResult instead of boolean. Might want to maek use of Abstain for things it doesn't actually acare about instead of defaulting to Allowed. AllowAll, DenyAll, BasicACLPlugin, SimpleXML: add Factory, return AuthzResult instead of boolean. VirtualHost: get a new ACLManager and configure it with the virtualhost security section. Ensure that old config files which have the access_control_list outside of the main security.access section continue to work. MockPluginManager: add mock class for tests PluginTest: not having any plugins now returns an empty set, not null MockAMQQueue: support name attribute ACLManagerTest: tests for ACLManager class ExchangeDenier, QueueDenier: new test classes for ACLManagerTest PrincipalPermissionsTest: check for correct return result, not true/false anymore Move plugin configuration to <security> section, not <security><access> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742626 13f79535-47bb-0310-9956-ffa450edef68
* Fix doubly-defined function.Alan Conway2009-02-092-19/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742602 13f79535-47bb-0310-9956-ffa450edef68
* Fix "no virtual destructor" warning.Alan Conway2009-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742563 13f79535-47bb-0310-9956-ffa450edef68
* Demote CPG flow control warning message to debug.Alan Conway2009-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742520 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1595 from william -- trade demoCarl C. Trieloff2009-02-096-1/+608
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : Removed unnecessary Jetty dependencies on Qman Admin ConsoleAndrea Gazzarini2009-02-091-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742498 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1652 : Created MessagePublishInfoImpl and Unit Test, removed the ↵Martin Ritchie2009-02-0917-501/+170
| | | | | | several annoynmous classes that did all the same work. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742496 13f79535-47bb-0310-9956-ffa450edef68
* Missed the modifications to FailoverRoundRobinServers.java during the commit ↵Rajith Muditha Attapattu2009-02-092-3/+1
| | | | | | | | | for QPID-1649 Missed the modifications to ServerDelegate during the cleanup done in rev 742269 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742278 13f79535-47bb-0310-9956-ffa450edef68
* Removing unused classes from the great refactoring period.Rajith Muditha Attapattu2009-02-098-858/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742269 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1645Rajith Muditha Attapattu2009-02-094-6/+21
| | | | | | | | | Added support to specify the sasl_mechs as a space separated list in the connection URL. By default it will use PLAIN. You could provide a list of mechs to support or force to use one GASSAPI or CRAM-MD5 by specifying only that in the connection URL. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742267 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1649Rajith Muditha Attapattu2009-02-095-4/+194
| | | | | | | There is some code in AMQConnectionDelegate_0_10.java related to QPID-1645 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742260 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1644Rajith Muditha Attapattu2009-02-092-5/+8
| | | | | | | If the exchange name starts with "amq." then the passive flag will be set to true in the exchangeDeclare command git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742255 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1654Rajith Muditha Attapattu2009-02-092-11/+65
| | | | | | | This contains the first step towards supporting a queue bound to any exchange type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742250 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for the problem highlighted in QPID-1374Rajith Muditha Attapattu2009-02-063-23/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741754 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1628 : Moved Redelivered from AMQMessage to QueueEntryMartin Ritchie2009-02-0620-127/+218
| | | | | | Added PropertyExpressionTest to test Redelivered Property git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741634 13f79535-47bb-0310-9956-ffa450edef68
* Fix seg fault if cluster and management are enabled.Alan Conway2009-02-061-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741624 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in run_acl_tests.Alan Conway2009-02-061-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1650 Mick Goulish: separte ClusterFixture from cluster_test.cpp for use ↵Alan Conway2009-02-065-83/+226
| | | | | | by other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741568 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1647: Added headers exchange exampleArnaud Simon2009-02-053-0/+267
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741151 13f79535-47bb-0310-9956-ffa450edef68
* Remove non-existent qpid/cluster/Updatee.h from cluster.mk.Alan Conway2009-02-051-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1618 from Mick Goulish: brokers joining cluster store persistent ↵Alan Conway2009-02-051-0/+5
| | | | | | messages that have been sent but not acknowledged. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741123 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741035 ↵Andrea Gazzarini2009-02-051-119/+0
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : Source modification for QMan Admin ConsoleAndrea Gazzarini2009-02-0520-7/+1608
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : QMan (Web) admin consoleAndrea Gazzarini2009-02-0521-2/+4121
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741031 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : updated build dependencies in order to include QMan Admin ↵Andrea Gazzarini2009-02-051-1/+7
| | | | | | console libraries. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741028 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : JSP Libraries added for QMan Admin console.Andrea Gazzarini2009-02-053-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741027 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1581 : Updated license information about JSP librariesAndrea Gazzarini2009-02-052-0/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1646: implemented handlers for producer flow control signalsRafael H. Schloming2009-02-053-4/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741024 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to producer flow control to reduce the numberAndrew Stitcher2009-02-044-30/+42
| | | | | | | | | of flow messages sent to the client and to eliminate a concurrency issue updating the broker flow control state. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740933 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition with deleted local connections.Alan Conway2009-02-043-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740900 13f79535-47bb-0310-9956-ffa450edef68
* Fix assertion due to doOutput control being sent after local connection closed.Alan Conway2009-02-043-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740872 13f79535-47bb-0310-9956-ffa450edef68
* Fix memory error in ClusterPlugin.Alan Conway2009-02-042-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740849 13f79535-47bb-0310-9956-ffa450edef68
* Fixed run_acl_tests.Alan Conway2009-02-041-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740801 13f79535-47bb-0310-9956-ffa450edef68
* Cluster sets recovery flag on Broker for first member in cluster.Alan Conway2009-02-046-32/+69
| | | | | | | Disable recovery from local store if the recovery flag is not set. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740793 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1626: Make ACLPlugin a more sensible interface, get rid of the giant ↵Aidan Skinner2009-02-0419-313/+537
| | | | | | | | | | switch in SimpleXML. Handlers shouldn't rely on the plugin throwing an exception for flow control, they now check the return value and do the right thing themselves. AllowAll, DenyAll now extend BasicACLPlugin. PrinciplePermissions(Test): futz with the interface a little so that it's easier to call from an ACLPlugin implementation. Leave the giant switch alone as it's quite fragile, and throws rocks at cats. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740769 13f79535-47bb-0310-9956-ffa450edef68
* Clean up error messages.Alan Conway2009-02-041-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740756 13f79535-47bb-0310-9956-ffa450edef68
* Fix for race conditions in cluster join.Alan Conway2009-02-0325-233/+521
| | | | | | | | | - ConnectionDecoder: separated from Connection. - cluster/PollableQueue: stop processing frames if PollableQueue is stopped. - move state checks in event-queue handler to frame-queue handler. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740459 13f79535-47bb-0310-9956-ffa450edef68
* Reversed change to error message on missing cluster packages.Kim van der Riet2009-02-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740437 13f79535-47bb-0310-9956-ffa450edef68
* Add in management statistics for client flow control.Andrew Stitcher2009-02-035-43/+49
| | | | | | | Really fixed Client library to count credit the same way the broker does. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740433 13f79535-47bb-0310-9956-ffa450edef68
* Changed name of UpdateClient's queue from "\000qpid-update" to ↵Kim van der Riet2009-02-032-4/+4
| | | | | | "qpid.qpid-update" to avoid problems with c-strings in BDB git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740429 13f79535-47bb-0310-9956-ffa450edef68
* Add some cpp and cobertura filesAidan Skinner2009-02-031-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740270 13f79535-47bb-0310-9956-ffa450edef68
* Remove MaxMethodBodySize stuff which is not used any more.Stephen D. Huston2009-02-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@740152 13f79535-47bb-0310-9956-ffa450edef68