summaryrefslogtreecommitdiff
path: root/qpid/java/broker
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-4636: add unit tests for new TrustManagersRobert Gemmell2013-03-141-0/+1
| | | | | | Applied patch from Michal Zerola git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456555 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4636: add support for a broker 'peerStore' that can be used to perform ↵Robert Gemmell2013-03-145-17/+49
| | | | | | | | SSL client auth based on specific 'trusted peer' certs existing in it, rather than via use of a trusted CA cert. Applied patch from Michal Zerola git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4593: Remove initial store type command line argument, simplify ↵Alex Rudyy2013-03-1418-935/+950
| | | | | | configuration store interface, split json configuration store into memory and json stores git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456473 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4596,QPID-4638: Change authentication provider names to shorter names, ↵Alex Rudyy2013-03-1313-26/+22
| | | | | | rename Port#AUTHENTICATION_MANAGER into Port#AUTHENTICATION_PROVIDER git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455919 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4645: the firewall plugin no longer exists, functionality is aprt of ↵Robert Gemmell2013-03-121-2/+2
| | | | | | the access-control plugin now git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455497 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4645: forgot the HA related jmx addon for the optional bdbstoreRobert Gemmell2013-03-121-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4645: add the broker-plugins and bdbstore moudles as optional ↵Robert Gemmell2013-03-111-0/+5
| | | | | | dependencies in the broker pom to simplify their use, make the bdbstore plugin match the others by using provided scope for the brokers modules (and the JE dep) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455361 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4639: Add UI to add/delete virtual hosts into java broker web ↵Alex Rudyy2013-03-116-7/+87
| | | | | | management console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455274 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4638: Add UI to add/delete/update authentication providers into java ↵Alex Rudyy2013-03-1118-73/+403
| | | | | | broker web management console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455273 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4596: remove manipulation of store files, and vhost store type etc.Robert Gemmell2013-03-101-158/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454943 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: misc cleanupRobert Gemmell2013-03-104-38/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454942 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: change new sytem property names to include broker to allow ↵Robert Gemmell2013-03-104-12/+16
| | | | | | distinguising them from any related client config. Separate defaults from the configurable value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454941 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: move the work dir defaulting and configuration fully within ↵Robert Gemmell2013-03-104-38/+166
| | | | | | BrokerOptions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454940 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: remove dead code, method was only ever called with null envVarMap argRobert Gemmell2013-03-102-20/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454939 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: misc logging related changesRobert Gemmell2013-03-101-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454938 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: move the store factory interface beside the other plugin factory ↵Robert Gemmell2013-03-105-2/+6
| | | | | | interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454937 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4609: Use correct synchronization lock in BrokerAdapter#getKeyStores().Alex Rudyy2013-02-281-1/+1
| | | | | | Fix suggested by Jakub Scholz git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4596: Add java broker ability to create/delete/update virtual hosts, ↵Alex Rudyy2013-02-2715-169/+564
| | | | | | authentication providers and ports via REST interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450881 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-4594] Add command line option to start java broker in a management ↵Alex Rudyy2013-02-2214-15/+910
| | | | | | mode and options to set JMX and HTTP ports in management mode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1448866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4593: add command line argument to pass path to initial storeAlex Rudyy2013-02-2012-139/+666
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1448306 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: Add getter to broker launcher to expose broker configured objectAlex Rudyy2013-02-193-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447820 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: Introduce a configuration store in java broker allowing runtime ↵Alex Rudyy2013-02-19205-8251/+10894
| | | | | | modifications and replace existing xml file configuration with json configuration store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4570 : Multiple AMQP1-0 Connections cause error if JMX management is ↵Robert Godfrey2013-02-072-5/+3
| | | | | | enabled git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443442 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4550 : AMQP 1.0 Persistent Messages cause failure on restartRobert Godfrey2013-01-255-18/+127
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1438556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4281: Fix setting of log4j configuration in system tests. While testing ↵Alex Rudyy2013-01-241-1/+2
| | | | | | | | the fix, some tests were found to be failing on spawned profile due to config problems - also fixed these. Applied patch from Philip Harvey <phil@philharveyonline.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1438053 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3569: Refactor TransactionTimeoutKeith Wall2013-01-0717-216/+469
| | | | | | | | | | | | | * Moved the duplicated transactionUpdateTime member from AMQChannel/ServerSession to ServerTransaction. ** LocalTransaction now maintains advances transactionUpdateTime on each enqueue/dequeue operation ** Other non-transactional ServerTransaction impls return transactionUpdateTime of 0 (as they already do for transactionStartTime). ** Changed LocalTransaction so that transaction start time is recorded on first enqueue or dequeue operation (rather than only first enqueue) * Moved duplicated logic from AMQChannel/ServerSession#checkTransactionStatus to TransactionTimeoutHelper * Make TransactionTimeoutTests use a durable queue so it is actually testing with store transactions. * Removed warnings if operational logging is turned off. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1429726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4517: modify broker log4j configuration to use logger names instead of ↵Phil Harvey2013-01-031-3/+3
| | | | | | file and line numbers, for performance reasons. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4521: ensure that the routing key is properly passed to the alternate ↵Robert Gemmell2012-12-232-1/+98
| | | | | | Topic exchange by the adapter. Add unit tests for the adapter methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1425515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4503: Producer transaction timeout detection feature may produce ↵Keith Wall2012-12-202-0/+5
| | | | | | | | spurious open/idle alerts and close client connections/sessions without good cause Address second race condition: Transaction update time should be reset on session commit or session rollback git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424427 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4515: improved broker logging, particularly when receiving/sending AMQP ↵Phil Harvey2012-12-204-41/+110
| | | | | | | | 0-8/0-9 frames and when committing transactions. Work done by Keith (kwall) and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4511: move the broker-plugins lib dir under build/scratch to prevent it ↵Robert Gemmell2012-12-191-1/+1
| | | | | | | | being included in the binary produced by 'ant release'. Updates the 'if' conditional on the copy target for compatibility with Ant versions < 1.7.1. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4503: Producer transaction timeout detection feature may produce ↵Keith Wall2012-12-143-20/+13
| | | | | | | | | | | | | | | | suprious open/idle alerts and close client connections/sessions without good cause Race conditon existed between the initial check that determined transaction timeout detection was required and the subsequent re-observeration required to perform the open and idle calculation. In the unlucky timing, the state of the transaction changed between these two points. (To produce the time-since-epoch type the transaction needs to be committed between these two points). Changed checkTransactionStatus so that transactionStartTime and transactionUpdateTime are observed once only. There still exists the possibility that the transaction status change change between the reading of transactionStartTime and transactionUpdateTime times, but I do not see how this could produce a suprious report (or close). The alternative (to take a locks to ensure consistent observations are made) seems unjustifiably costly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1421884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: add missing licence headers to various files in the Java treeRobert Gemmell2012-12-118-6/+160
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420285 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4489: ensure the IoSender is closed when the IoReceiver closes before a ↵Robert Gemmell2012-12-031-1/+23
| | | | | | protocol version initiation is received git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4476: ensure that the Principal in the AuthenticationResult has the ↵Robert Gemmell2012-11-271-31/+66
| | | | | | same format (the username) in both sasl and non-sasl cases, reworking handling of authentication success/failure/error to improve user experience slightly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4472 : [Java Test] Fix MultiVersionProtocolEngineTest to work with AMQP ↵Robert Godfrey2012-11-261-0/+26
| | | | | | 1.0 connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4472 : [Java Broker] NPE with non-SASL AMQP 1.0 ConnectionRobert Godfrey2012-11-262-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413627 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4456: ensure the qpid-server.bat script for windows picks up the broker ↵Robert Gemmell2012-11-251-2/+2
| | | | | | plugins. Update example output from running the startup commands." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413444 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4470: Allow 'maximum queue depth' queue alerting threshold to be set ↵Keith Wall2012-11-252-13/+29
| | | | | | from JMX/AMQP git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Implement hearbeating in Java Broker (all protocol versions) and ↵Robert Godfrey2012-11-257-13/+168
| | | | | | Java Client (0-8/9/9-1 path) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413376 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4456: ensure the broker plugins get packaged in the release binary and ↵Robert Gemmell2012-11-212-4/+10
| | | | | | added to the classpath. Create opt directory for later use by users and update docs accordingly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412359 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: Update trunk versions to 0.21Justin Ross2012-11-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1411381 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4335, QPID-4353: Refactored broker plugins to use simplified ↵Robert Gemmell2012-10-1295-3731/+1760
| | | | | | | | | | | | | | | | ServiceLoader-based model rather than embedding Felix to use OSGi. Removed the ability to reload security configuration because this feature is not very useful in its current form and was making our code hard to refactor. Modified all tests to use jars rather than classes. This makes them closer to real-world deployments, e.g. the META-INF/services file is read from within the jar. Also moved various system tests from their respective modules into "systests". This removes the need for most modules to depend on systests, thus simplifying our dependency graph. Applied patch from myself, Keith Wall and Phil Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4334: removed the firewall plugin and moved its functionality into the ↵Keith Wall2012-09-282-108/+115
| | | | | | | | Access Control plugin. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4333: remove the 'queue reconfiguration' process and various clases ↵Robert Gemmell2012-09-2410-707/+13
| | | | | | | | leftover from SCD Work by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389451 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4313: Address review comments from QPID-4109 (Reenable LoggingManagement)Keith Wall2012-09-213-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388457 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4333: remove the Slow Consumer Detection plugin and associated ↵Robert Gemmell2012-09-2017-1977/+0
| | | | | | | | documentation Work by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4297: Broker should not rely on Subject.getPrincipals.iterator().next() ↵Keith Wall2012-09-113-8/+7
| | | | | | to find 'username principal' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1383639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4292: add ACL rule to authorise access to the web management UIKeith Wall2012-09-108-88/+156
| | | | | | | | | | | * added object name MANAGEMENT to represent both JMX and Web Management layers * Change both JMX/Web entry points to permission access with an access management check * Updated examples and docbook * Made Principals serialised to avoid container warnings when Qpid principals are placed within a HttpSession. Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382947 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add default config for http managementRobert Gemmell2012-09-101-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382915 13f79535-47bb-0310-9956-ffa450edef68