summaryrefslogtreecommitdiff
path: root/qpid/java/broker-plugins
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4475: enable the web management UI support the PLAIN mechanism for SASL ↵Robert Gemmell2012-11-272-2/+41
| | | | | | login git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4456: ensure the broker plugins get packaged in the release binary and ↵Robert Gemmell2012-11-213-0/+6
| | | | | | 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-4335, QPID-4353: Refactored broker plugins to use simplified ↵Robert Gemmell2012-10-1259-7067/+424
| | | | | | | | | | | | | | | | 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: addressed Keith's review comments. Also moved ↵Keith Wall2012-09-288-88/+211
| | | | | | | | PlainConfigurationTest to the correct package. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391431 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4334: removed the firewall plugin and moved its functionality into the ↵Keith Wall2012-09-2830-1185/+1464
| | | | | | | | 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-4313: Address review comments from QPID-4109 (Reenable LoggingManagement)Keith Wall2012-09-214-31/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388457 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: use uptodate to prevent management-http's dojo unwar happening ↵Keith Wall2012-09-191-1/+11
| | | | | | unnecessarily git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1387583 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4284: Remove system test dependencies on development and localhost ↵Keith Wall2012-09-177-55/+75
| | | | | | virtual hosts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1386864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4292: Java Web Management - standardise of the use of SC_FORBIDDEN and ↵Keith Wall2012-09-129-25/+25
| | | | | | | | avoid ugly stack trace in logs in response to some authorisation failures Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1383894 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4292: add ACL rule to authorise access to the web management UIKeith Wall2012-09-106-29/+132
| | | | | | | | | | | * 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
* QPID-4255: Add "log out" functionality to web UIKeith Wall2012-09-068-26/+283
| | | | | | | | | | | * Added logout link to the Web Management UI (displayed once a user is logged in). * Added operation logging (open/close event) to report the fact that the user has logged in, logged out (or gone away i.e. web session timeout). * Allow Jetty web session timeout to be overridden from the config.xml Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1381637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4283: Make web management capable of using external authentication manager.Keith Wall2012-09-046-340/+34
| | | | | | | | | | | also: * remove test servlets * rename management.html => index.html * allow sasl-auth to be disabled Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4271: improve behaviour when embedding the broker inside a containerKeith Wall2012-09-042-2/+12
| | | | | | | | | | | | Avoid potential ThreadLocal leaks on Container owned threads for CurrentActor, AMQShortString and SecurityManager. Have LogRecorder unregistered itself from Log4J. Allow SIGHUP handling to be turned off (inappropiate to install signal handling when deployed inside Container. Allow use of custom RMI socket factory to be disabled. (The registration of a custom RMI socket with the JRE cannot be reversed (deficiency in JRE API) and this causes a large perm-gen leak). Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4282: Remove debug logging from web management consoleRobert Gemmell2012-09-031-11/+0
| | | | | | Applied patch from Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4253: add configuration for basic-auth on http / https management and ↵Robert Gemmell2012-09-024-5/+129
| | | | | | set to disabled / enabled respectively by default git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1380016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4270: Change web management plugin to log management operational log ↵Keith Wall2012-08-304-16/+61
| | | | | | messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4242 : [Java Broker] Remove QMFv1 implementationRobert Godfrey2012-08-295-10/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1378496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4236, QPID-4237, QPID-4245: Added group management functionality, and ↵Robert Gemmell2012-08-2454-764/+2565
| | | | | | | | | | | | | | | | | | | exposed it via the web management interface. Removed group definition functionality from the ACL plugin. The ACL plugin uses groups but no longer defines them. Introduced SubjectCreator as a facade to AuthenticationManager and group management classes. Applied access control to user and group management. Fixed bug in choosing between update and creation in RestServlet. Moved lots of RestTest helper methods to RestTestHelper. Fixed authentication, authorisation, and status logging when using the web ui. Applied patch from Philip Harvey <phil@philharveyonline.com>, Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1376968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: add licence header to various filesRobert Gemmell2012-08-127-0/+140
| | | | | | | trunk equivalent of the changes made in r1372144 on the 0.18 release branch git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372149 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4188: add fallback exception/error logging to MBeanInvocationHandlerImplRobert Gemmell2012-08-031-1/+26
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1369065 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4189: Add unit tests for ConfiguredObjectToMapConverterKeith Wall2012-08-034-102/+316
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1369015 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4187: Improve operational management logging: - make ManagementActor ↵Robert Gemmell2012-08-031-2/+6
| | | | | | | | thread-safe, stop caching of log string without context principal set, use separate instance of ManagementActor with pre-set principal for opening and closing notifications for JMX connections Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4186: MBeanInvocationHandler now sets log actor before performing ↵Robert Gemmell2012-08-032-51/+219
| | | | | | | | authorisation, so that authorisation logging now includes principal name. Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368906 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4167: Fix a cycle in the JSON output of the AlternateExchange attribute ↵Robert Gemmell2012-07-316-14/+71
| | | | | | | | | which would lead to massive/broken output that would cripple the webui. Add REST test to validate the fix. Add checkbox to create a DLQ for the new queue, and display the alternateExchange attribute. Work by myself and Keith Wall. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367797 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4167: Fix setting of queue attributes via web management console and ↵Robert Gemmell2012-07-317-53/+136
| | | | | | | | | rest interfaces. Also import Subscription into the bundle to resolve CDNFExcept ion when viewing a queue with Consumers. Work by Oleksandr Rudyy, Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367796 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4170: prevent JMX threads from spinning in the Queue MBean if the ↵Robert Gemmell2012-07-302-8/+84
| | | | | | content retrieval fails, log an error if it does. Add unit tests to expose issue and verify fix. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: Prevent the erroneous re-storing of recovered messages during ↵Keith Wall2012-07-251-7/+89
| | | | | | move/copyMessage management functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1365832 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998: Add HTTPS test for REST interfacesRobert Gemmell2012-07-192-4/+103
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363413 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4151: Add validation for reserved exchange names into addExchange ↵Robert Gemmell2012-07-191-1/+2
| | | | | | | | dialog in web management UI Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363307 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4149: Add REST functionality to delete exchanges, queues and bindings, ↵Robert Gemmell2012-07-1911-20/+320
| | | | | | | | add queue/exchange/binding delete operations into web UI Applied patch from Oleksandr Rudyy <orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363298 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4150: Display the name of queue type key(sortKey,priorities,lvqKey) and ↵Robert Gemmell2012-07-192-2/+27
| | | | | | | | its value Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1363297 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998: Add HTTPS support for the REST management interfaceRobert Gemmell2012-07-1310-76/+161
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1361239 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999: System tests for Rest API, small fixups for the ↵Robert Gemmell2012-07-1124-13/+2211
| | | | | | | | adapters and web ui. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999: get the user name from ↵Robert Gemmell2012-07-111-0/+4
| | | | | | | | HttpServletRequest#getRemoteUser() in SaslServlet Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1360120 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999, QPID-4093: rename new pluginsRobert Gemmell2012-07-08101-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358757 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: Prevent NullPointerException from ExchangeMBean when target queue ↵Keith Wall2012-07-062-27/+251
| | | | | | does not exist git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358216 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4112: Virtualhosts recover exchanges before queuesKeith Wall2012-07-061-2/+7
| | | | | | | Switch the recover order from queues,exchanges,... to exchanges,queues,.. so that when a queue with an alternate exchange is recovered, the exchange's uuid is already in the registry. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1358118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4109: Re-enable LoggingManagement MBeanKeith Wall2012-07-055-1016/+473
| | | | | | | | | | | | | * Re-wire up LoggingManagementMBean. * Centralise log4j specific functionality into LoggingFacade class (moving implementation from LoggingManagementMBean and QpidLog4JConfigurator together). * Implement unit-tests for MBean and Facade levels. Reenforce units tests with system tests testing logging management end to end. * Changed QpidBrokerTestCase so that log4j.configuration is _always_ used to obtain the log4j config file regardless of whether test type is spawned or internal (previously log4j.configuration was respected only for internal tests). This was require to be able to write a logging management system test that could safely change the contents of the log4j config without running the risk of effecting other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357528 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing Apache licenses to Java source files; correct ↵Keith Wall2012-07-021-15/+15
| | | | | | positioning of the license wrt to the package statement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4093: Resolve some outstanding TODOs in new JMX moduleKeith Wall2012-07-0210-51/+150
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356248 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4098: update POM generation for the plugins to mark the dependencies as ↵Robert Gemmell2012-06-294-0/+4
| | | | | | being provided (by the broker itself) at runtime git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355391 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4098: generate maven release artifacts for the broker pluginsRobert Gemmell2012-06-294-4/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355390 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3999: add logo image which was missed during previous commitRobert Gemmell2012-06-291-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999, QPID-4093: add new management plugins for ↵Robert Gemmell2012-06-28102-128/+16671
| | | | | | jmx/rest/webui functionality, partial merge from the java-config-and-management branch at r1355039 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4045: remove the unused 'extras' pluginRobert Gemmell2012-06-078-769/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1347688 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4042 : [Java Broker] Add SSL Client Auth supportRobert Godfrey2012-06-061-45/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346817 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: trivial changes to the build.xml files to aid people regenerating ↵Robert Gemmell2012-05-134-2/+2
| | | | | | their Eclipse project files using Ant Eclipse following the Ivy related changes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337925 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3985 : [Java Tests] Fix locale specific testsRobert Godfrey2012-05-071-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335303 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3965: Fix issue with converting ACL content to lower case Applied patch ↵Keith Wall2012-04-273-6/+10
| | | | | | by Oleksandr Rudyy <orudyy@gmail.com>, Phil Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1331342 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: Store queue, exchange and binding as configured objects in bdb storeRobert Gemmell2012-04-174-7/+12
| | | | | | Applied patch by Oleksandr Rudyy <orudyy@gmail.com>, Phil Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327003 13f79535-47bb-0310-9956-ffa450edef68