activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [2/2] activemq-artemis git commit: ARTEMIS-628 - Configure BROWSE permission in last-value-queue example
Date Wed, 20 Jul 2016 20:37:28 GMT
ARTEMIS-628 - Configure BROWSE permission in last-value-queue example

Before this change, the example would fail with exception

    javax.jms.JMSSecurityException: AMQ119032: User: null does not
     have permission='BROWSE' on address jms.queue.exampleQueue


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/e996f589
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/e996f589
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/e996f589

Branch: refs/heads/master
Commit: e996f5891884c7b50aad34eeaf6faa842797a4d0
Parents: 5dcf7bc
Author: Jiri Danek <jdanek@redhat.com>
Authored: Wed Jul 20 13:51:01 2016 +0200
Committer: jbertram <jbertram@apache.org>
Committed: Wed Jul 20 15:36:46 2016 -0500

----------------------------------------------------------------------
 .../last-value-queue/src/main/resources/activemq/server0/broker.xml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e996f589/examples/features/standard/last-value-queue/src/main/resources/activemq/server0/broker.xml
----------------------------------------------------------------------
diff --git a/examples/features/standard/last-value-queue/src/main/resources/activemq/server0/broker.xml
b/examples/features/standard/last-value-queue/src/main/resources/activemq/server0/broker.xml
index 62818cf..267d8c9 100644
--- a/examples/features/standard/last-value-queue/src/main/resources/activemq/server0/broker.xml
+++ b/examples/features/standard/last-value-queue/src/main/resources/activemq/server0/broker.xml
@@ -53,6 +53,7 @@ under the License.
             <permission type="deleteNonDurableQueue" roles="guest"/>
             <permission type="consume" roles="guest"/>
             <permission type="send" roles="guest"/>
+            <permission type="browse" roles="guest"/>
          </security-setting>
       </security-settings>
 


Mime
View raw message