summaryrefslogtreecommitdiff
path: root/qpid/java/systests/etc
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4803: Ensure the modelVersion and storeVersion attributes are saved to ↵Alex Rudyy2013-05-031-10/+2
| | | | | | the configuration store and validated at startup git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478732 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4754: Make broker name editable and show it in the browser titleAlex Rudyy2013-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1469914 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4746, QPID-4747: remove the defaultAuthenticationProvider attribute ↵Alex Rudyy2013-04-171-2/+4
| | | | | | from broker and add an overriding authentication provider for management mode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1468830 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390, QPID-4743: configuration improvements from reviewRobert Gemmell2013-04-151-28/+0
| | | | | | | | | | - Rename the embedded initial config file to initial-config.json - Ensure the default vhost store path is unique by including its type and vhost name. - Rename ports to remove the port number. - Remove leftover systests config.xml file. - Stop shipping unused virtualhosts.xml in example config to reduce confusion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1467938 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4739: complete support for defining multiple key/trust stores and ↵Robert Gemmell2013-04-121-4/+10
| | | | | | assigning them on a port-specific basis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1467334 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4636: expand testing of the new TrustManagersRobert Gemmell2013-03-171-1/+1
| | | | | | | | | | | | | | - Removes the 'app2' cert from the test broker peer store so it only contains the 'app1' cert. - Add a java broker trust store (currently continues to match client trust store, contans the test CA). - Add a java client keystore with a completely untrusted cert. - Add additional unit testing of QpidPeersOnlyTrustManager inc use of otherwise trusted certs, and completely untrusted certs. - Add additional unit testing of QpidMultipleTrustManager and its behaviour when wrapping a regular TrustManager, a QpidPeersOnlyTrustManager, and both at once. - Add system tests showing a client with untrusted SSL cert failing to connect, then succeeding when adding it to the peerStore on the broker. Work by myself and Michal Zerola. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457599 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4596,QPID-4638: Change authentication provider names to shorter names, ↵Alex Rudyy2013-03-131-1/+1
| | | | | | 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-4639: Add UI to add/delete virtual hosts into java broker web ↵Alex Rudyy2013-03-111-1/+1
| | | | | | management console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455274 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: Introduce a configuration store in java broker allowing runtime ↵Alex Rudyy2013-02-198-267/+64
| | | | | | 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-4335, QPID-4353: Refactored broker plugins to use simplified ↵Robert Gemmell2012-10-121-3/+0
| | | | | | | | | | | | | | | | 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-284-228/+0
| | | | | | | | 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-4284: Remove system test dependencies on development and localhost ↵Keith Wall2012-09-174-198/+3
| | | | | | virtual hosts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1386864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4236, QPID-4237, QPID-4245: Added group management functionality, and ↵Robert Gemmell2012-08-242-6/+37
| | | | | | | | | | | | | | | | | | | 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-121-0/+19
| | | | | | | 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-3998, QPID-3999, QPID-4093: add new management plugins for ↵Robert Gemmell2012-06-281-0/+3
| | | | | | 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-4029: update the systest configuration to be self-contained, separating ↵Robert Gemmell2012-05-3012-10/+221
| | | | | | the tests config from the example config files to allow modifiying them in isolation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344276 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: add support for using BDB HA to form an active-passive cluster ↵Robert Gemmell2012-05-175-10/+12
| | | | | | | | | | | for persistent messaging - Includes support for setting BDB configuration parameters via the store configuration, both for the existing store and the new HA variant. - Removes the MessageStoreFactory and reverts store configuration to historical values. Applied patch from Keith Wall, Andrew MacBean <andymacbean@gmail.com>, Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3989 : [Java Broker] Add ability to run "in-memory" Derby storeRobert Godfrey2012-05-084-0/+139
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3929: remove old perftests + integrationtests + junit-toolkit modules ↵Robert Gemmell2012-04-041-23/+0
| | | | | | and associated files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3917: Refactor VirtualHost/MessageStore implementations to be ready for ↵Keith Wall2012-03-304-11/+11
| | | | | | | | BDB-HA Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3788: Remove remaining MINA configuration keys (and those from other ↵Keith Wall2012-01-282-12/+2
| | | | | | | | | | retired impls) from the Java Broker's config.xml * Remove remaining references to MINA transport configuration keys: enableDirectBuffers/enablePooledAllocator/filterchain from code and example config files. * Remove references to compressBufferOnQueue from config XMLs. The implementation that used it was removed back in 2007 by QPID-275. * Remove references to broker-side configuration key enableJMSXUserID. This broker feature was removed by QPID-943 (which replaced the functionality with an equivilent client-side option). The old Broker side key plays no part in the client-side function. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1237088 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3641: ACLV2 Simplifications and Improvements for Java BrokerKeith Wall2011-11-2412-395/+0
| | | | | | | | | | | | | Improvements and simplifications to ACL V2 for the Java Broker: 1) Removed 'EXECUTE' operation (we now just have ACCESS and UPDATE like C++ broker) 2) Enable users with management rights for a procedure to complete that procedure without matching AMQP rights (configurable) 3) Fix up system tests (make clearer, remove need for lots of support files) 4) Fix disparity in DENY_LOG and DENY-LOG values between brokers. 5) Get rid of transitive/expand permission rules Work from Robbie Gemmell and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1205782 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3517: Inconsistent SSL configuration keys in Java Broker in config.xmlKeith Wall2011-10-163-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1184882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3402: ensure the test JVMs execute with the working dir set to the ↵Robert Gemmell2011-09-3010-10/+10
| | | | | | | | qpid/java dir, use relative paths to the broker startup script and config files, update the QBTC configuration override functionality to operate relative to QPID_HOME to avoid setting properties with spaces/parentheses into QPID_OPTS Enables the java test profiles to cope with spaces/parentheses in the parent directory structure of the checkout, as found in the matrix project workspaces on the ASF Jenkins instances git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1177658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3504: add the Java broker bdbstore to the build as an optional moduleRobert Gemmell2011-09-244-0/+141
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1175235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3486: Make connector server port used for JMX configurable.Keith Wall2011-09-142-14/+0
| | | | | | Commited work from Andrew MacBean <andymacbean@gmail.com> any myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1170612 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3429: ensure that SSL is enabled correctly in MinaNetworkHandler. ↵Robert Gemmell2011-08-181-1/+10
| | | | | | | | Refactor SSLContextFactory to be a factory, and present a useful interface for both client and server side use. Added keystore for the Java broker, renamed existing client trust/key stores for clarity. Fix SSL port configuration. Added new SSL tests, and ensure these are *always* run in the Java 0-10 profiles. Committing work by myself and Keith Wall. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1159250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3283: make Authentication Manager pluggable.Robert Gemmell2011-07-155-214/+4
| | | | | | | | Refactors AuthenticationManager and collaborators to allow of AuthenticationManager to be plugged in from the configuration XML. Change PrincipalDatabaseAuthenticationManager to become a pluggable implementation. This change removes support for the <principal-databases> element within the config.xml. Existing use-cases are supported by the new element <pd-auth-manager/> which enables use of the PDAM implementation. Also resolves QPID-1347. Applied patch by Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1147036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3341: remove unused/dead transport code and accompanying implementation ↵Robert Gemmell2011-07-072-18/+4
| | | | | | | | classes Applied patch by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3301: remove support for ACL V1 (aka SimpleXML) from Java Broker.Robert Gemmell2011-06-264-265/+0
| | | | | | | Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1139792 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3296: update RMIPasswordAuthenticator to authenticate users via ↵Robert Gemmell2011-06-094-15/+0
| | | | | | | | AuthenticationManager instead of a PrincipalDatabase Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1133781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2759: Remove defunct jmxremote.access file user management rights ↵Robert Gemmell2011-05-104-4/+0
| | | | | | | | | | | | | | manipulation abilities. 1) Removed remaining jmx access functionality. 2) Removed references to security/jmx/access from all existing configuration files. 3) Made ServerConfiguration#validateConfiguration reject config files that still contain the security/jmx/access element in order to promote good end-user understanding of configuration. For JMX: 1) setRights now throws UnsupportedOperationException with message. 2) createUser(string,string,bool,bool,bool) throws UnsupportedOperationException iff any of the bool args are true i.e. the user attempts to give a user access JMX rights 3) Deprecated createUser(string,string,bool,bool,bool) in favour of new two arg form createUser(string,string) 4) viewUsers changes to always return admin, read, and write items as false. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101483 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2942: disable management SSL by default, update config.xml to use ↵Robert Gemmell2010-11-141-0/+2
| | | | | | keystore path from example keystore creation script and move systest keystore config to the systest config override file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1035026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2654: Add Actor logging to the ACL pluginRobert Gemmell2010-06-171-0/+23
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2662: Use actual SocketAddress instead of the String representationRobert Gemmell2010-06-176-8/+16
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@955617 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup code. Configuration security.access is not used anymoreMartin Ritchie2010-06-035-17/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@951167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2606: Access Control ModificationsRobert Gemmell2010-05-3114-21/+416
| | | | | | | Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@949781 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2630, QPID-2631: Restore the virtualhosts.xml file. When a ↵Robert Gemmell2010-03-3020-248/+444
| | | | | | | | | virtualhosts.xml file is specified load it as its own Configuration object to ensure the property heirarchy is not lost. Enforce that virtualhost config can only be specified in either the main config.xml file or the virtualhosts.xml file, but not both. Allow the virtualhosts.xml file to be a combined configuration and use to provide override abilities for testing. Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929136 13f79535-47bb-0310-9956-ffa450edef68
* I have added the license header to the files included in this commit.Rajith Muditha Attapattu2010-02-121-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@909641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: add additional testing against static firewall configurationsRobert Gemmell2009-11-262-0/+274
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@884634 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: make sure global security plugins are reconfigured properlyAidan Skinner2009-11-112-0/+58
| | | | | | | | | | | ServerConfigurationTest: add test for reloading firewall config in main section, not just as a combined file FirewallConfigTest: add a systest for firewalls with real broker QpidTestCase: add a reloadBroker() method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@835115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1304: update ACL test + configuration file to use a static ACL ↵Robert Gemmell2009-10-211-0/+20
| | | | | | configuration (with a secondary virtualhost) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@827967 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1301 Updated test configMarnie McCormack2009-10-201-10/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@827702 13f79535-47bb-0310-9956-ffa450edef68
* Add test customisation configuration to derby and acl configsMartin Ritchie2009-09-112-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2092 Move test configuration to systest package and update to provide ↵Martin Ritchie2009-09-109-0/+524
| | | | | | | | | | | | | | | an more reliable way of adjusting the configuration form the test. In doing this it made sense to udpate the configurations such that they all inherit from the cannonical config.xml from the broker package. Each test now gets its own configuration file that is used to override the defaut values in config.xml. So the config is now a hierarchy of: - Test Specific - Systest adjustments - stock broker config.xml I have disabled the DerbyMessageStoreLoggingTest as after making this change it is more reliably throwing a Derby exception on broker startup. The other changes to the tests were to ensure they correctly save the Test Specific config file before loading. As for some reason, Commons Configuration is not abiding by the optional flag. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 merge M2.xAidan Skinner2008-04-241-0/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@651133 13f79535-47bb-0310-9956-ffa450edef68
* Remerge of M2. All tests pass locallyMartin Ritchie2007-08-301-0/+23
Testing done in Intelij and mvn command line via windows/cygwin. Python tests removed from auto build pending Jython-siztion. Tested running broker in intelij and python run-tests from cygwin. All tests pass. (CombinedTest still exhibts a race condition. but that has always been so.) Additional Race condition identified (around MsgReject/AutoDeleteQueues) during testing patch to follow. systests are inconsistent Some use TestableMemoryMessageStore some use MemoryMessgaeStore. Lets not roll back this change if issues are discovered. Lets work together to go forward and address any issues. I have spent a lot of time ensuring the tests work for me so I hope that they work for you. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@571129 13f79535-47bb-0310-9956-ffa450edef68