summaryrefslogtreecommitdiff
path: root/java/broker/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1493 : Patch from Robert Gemmell : Corrected inaccurate exception.Martin Ritchie2009-01-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@737753 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1533 : Patch from Robert Gemmell, Fixes the reload tab in ↵Martin Ritchie2009-01-266-10/+31
| | | | | | UserManagement to actually reload the PrincipalDatabase file from disk. Not just the jmxaccess rights file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@737746 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused class JmsConsumerAidan Skinner2009-01-221-110/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1600: Add tests for PrincipalPermissions, document arguments to ↵Aidan Skinner2009-01-202-0/+176
| | | | | | authorise and grant. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@735993 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1573: Move unit tests that were living in systests into appropriate ↵Aidan Skinner2009-01-1915-2/+2961
| | | | | | module. Fix up a few bugs in other tests that this exposed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@735735 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1563: Use createTempFileAidan Skinner2009-01-092-19/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@733016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1524 : Added missing locking that could cause simultaneous delivery by ↵Martin Ritchie2008-12-171-0/+5
| | | | | | multiple threads on the MockSubscription git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727421 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1538 : Reverted r727068Martin Ritchie2008-12-171-21/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727343 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1536 : Reverted r727057Martin Ritchie2008-12-174-34/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727336 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1537 : Reverted r727070Martin Ritchie2008-12-1714-25/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727335 13f79535-47bb-0310-9956-ffa450edef68
* Reverted r727089Martin Ritchie2008-12-171-17/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727333 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1537 : Added a test to ensure the version is correctly set for ↵Martin Ritchie2008-12-161-0/+17
| | | | | | AMQUserManagementMBena git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727089 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1537 : Version all the MBeans to allow changes in the API contracts. ↵Martin Ritchie2008-12-1614-21/+25
| | | | | | Set AMQUserManagementMBean to version 2 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727070 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1538 : Ensure that RMI connections use our custom InvokerMartin Ritchie2008-12-161-14/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727068 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1536 : Convert Base64MD5PrincipalDatabase to accept plain text password ↵Martin Ritchie2008-12-164-20/+34
| | | | | | input and do the hashing locally. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727057 13f79535-47bb-0310-9956-ffa450edef68
* Added the ASF license header to the following files.Rajith Muditha Attapattu2008-12-162-1/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@726943 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1469: style fixAidan Skinner2008-12-151-115/+114
| | | | | | | patch from gemmellr@dcs.gla.ac.uk git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@726776 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1524 : Added a catch to print out the message order to help rule out ↵Martin Ritchie2008-12-111-10/+27
| | | | | | message loss potential in the test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@725663 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1469: Fix NullPointerException, add test for deleteUser which would ↵Aidan Skinner2008-12-092-0/+158
| | | | | | | | expose this. Patch from gemmellr@dcs.gla.ac.uk git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724787 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1503: Add more tests for Base64MD5PasswordFilePrincipalDatabase, fix ↵Aidan Skinner2008-12-092-9/+61
| | | | | | buglets. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1503 : Updates based on code reviewMartin Ritchie2008-12-094-89/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724743 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1503 : Update to Base64 to correctly save password file. Pulled User ↵Martin Ritchie2008-12-051-0/+121
| | | | | | out of Base64MD5 to allow better testing. Added unit test case for Base64 and User git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@723795 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1503 : Update to Base64 to correctly save password file. Pulled User ↵Martin Ritchie2008-12-053-124/+466
| | | | | | out of Base64MD5 to allow better testing. Added unit test case for Base64 and User git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@723792 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1482 : Patch provided by Robert Gemmell, To allow PLAIN authentication ↵Martin Ritchie2008-12-031-66/+7
| | | | | | via JMX Console. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1501 : Remove @Override annotations to allow compilation under JDK 1.5Martin Ritchie2008-12-023-28/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1390 : Added test to validate that new SASL providers are unregistered ↵Martin Ritchie2008-10-241-0/+120
| | | | | | by the broker on ApplicationRegistry shutdown git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1315: Fix style issue, iterator control usage as per review comments ↵Aidan Skinner2008-10-242-11/+15
| | | | | | from rgodfrey. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1394 : Registration of JCAProvider is incorrect in client and broker ↵Martin Ritchie2008-10-242-7/+11
| | | | | | SASL configurations git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1390 : Allow Authentication Manager to correctly closeMartin Ritchie2008-10-243-2/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1385 : Extracted annonymous class from AMQChannel.resend(boolean), ↵Martin Ritchie2008-10-238-62/+827
| | | | | | Added new Mock Objects to the broke to allow direct testing of the new class. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707344 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1315:Aidan Skinner2008-10-172-157/+114
| | | | | | | | | | BasicBytesFlowControl doesn't wait long enough to determine if the 3rd message is going to be delivered accidently. It also ack'd every message, which was not it's intent, so use acknowledgeThis() instead. Refactor common code out of processQueue and flushSubscription into attemptDelivery. Make sure sendLock is held when closing the consumer. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@705657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1101 : Reverted change, for some reason I can't seem to find where this ↵Martin Ritchie2008-10-151-6/+1
| | | | | | code was used, agree it was a poor approach. Will document a better one on QPID-1103 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@704945 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1314: move metadata store up a few lines as per review comment.Aidan Skinner2008-10-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@704936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1356: move commit even higher, before the auth check.Aidan Skinner2008-10-151-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@704928 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1356: Write message to disk before delivering it to queues.Aidan Skinner2008-10-151-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@704925 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1314: add missing MockQueueEntry class, oopsAidan Skinner2008-10-101-0/+177
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703497 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1314: Make sure all messags that are enqueued are dequeued.Aidan Skinner2008-10-103-2/+58
| | | | | | | | SimpleAMQQueue - dequeue messages if they are persistent, regardless of queue durability. SimpleAMQQueueTest - make sure that all messages which are stored are removed properly. TestableMemoryMessageStore - override enqueue/dequeue so it's possible to determine what is in the queue at any given point in time. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703485 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1331 : Modified the BrowserSubscription to be consistent with the NoAck ↵Martin Ritchie2008-10-098-10/+181
| | | | | | | | | | | | | | | | Subscription. Added Test QueueBrowserUsesNoAckTest to validate the change. Note that the Credit Manager Suspends the subscriber not the channel when credit is exhausted. JIRA to follow. So to check if the subscription was suspended I needed to make a MockChannel and give it access to the subscriber map in the Channel. The test also needed to be able to interrogate the state of the Subscription which was not part of the Subscription interface, but was used by all subscriptions. So promoted to the interface and implemented the stubs in the various helper/test classes. Added the ability to browse() via the InternalBrokerBaseCase and prevented a NPE when there were no messages returned via getDelivers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703212 13f79535-47bb-0310-9956-ffa450edef68
* revert the commit.Lahiru Gunathilake2008-10-091-97/+130
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703155 13f79535-47bb-0310-9956-ffa450edef68
* resolving jira 1329.Lahiru Gunathilake2008-10-081-130/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702745 13f79535-47bb-0310-9956-ffa450edef68
* testing commiting added a word to a comment.Lahiru Gunathilake2008-10-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1269 : Modified to actually test the type of queue that is returnedMartin Ritchie2008-10-031-16/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@701330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1268 : Added additional deleteDirectory method that behaves like rmdir, ↵Martin Ritchie2008-10-031-0/+3
| | | | | | modified delete to behave like rm. Added further tests for copy and delete. Encorporated review feedback from ASkinner. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@701329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1101 : Merge of changes from M2 to allow Configuration to be loaded and ↵Martin Ritchie2008-10-031-1/+5
| | | | | | modified before being given the the ApplicationRegistry git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@701328 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1266 : Updates based on reviewMartin Ritchie2008-10-032-16/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@701326 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for the problem identified in QPID-943.Rajith Muditha Attapattu2008-09-253-19/+65
| | | | | | | | | If msg-auth is configured as true in config.xml the user_id in message properties is verified against the id used at authentication. If not an exception with error code 403 is thrown. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@699044 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: Change test and variable names as per review.Aidan Skinner2008-09-191-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697131 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: Change test and variable names as per review.Aidan Skinner2008-09-192-82/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: add missing classAidan Skinner2008-09-181-0/+192
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1287: Allow boolean <priority> element in virtual host file. Add test ↵Aidan Skinner2008-09-182-2/+115
| | | | | | for this. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696691 13f79535-47bb-0310-9956-ffa450edef68