diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2011-05-27 15:44:23 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2011-05-27 15:44:23 +0000 |
commit | 66765100f4257159622cefe57bed50125a5ad017 (patch) | |
tree | a88ee23bb194eb91f0ebb2d9b23ff423e3ea8e37 /qpid/java/systests/etc/test-default.txt | |
parent | 1aeaa7b16e5ce54f10c901d75c4d40f9f88b9db6 (diff) | |
parent | 88b98b2f4152ef59a671fad55a0d08338b6b78ca (diff) | |
download | qpid-python-66765100f4257159622cefe57bed50125a5ad017.tar.gz |
Creating a branch for experimenting with some ideas for JMS client.rajith_jms_client
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/rajith_jms_client@1128369 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/systests/etc/test-default.txt')
-rw-r--r-- | qpid/java/systests/etc/test-default.txt | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/qpid/java/systests/etc/test-default.txt b/qpid/java/systests/etc/test-default.txt new file mode 100644 index 0000000000..95e733d077 --- /dev/null +++ b/qpid/java/systests/etc/test-default.txt @@ -0,0 +1,73 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +# This section grants virtualhost access rights +ACL ALLOW client ACCESS VIRTUALHOST +ACL ALLOW server ACCESS VIRTUALHOST + +# This section grants publish rights to an exchange + routing key pair + +# Allow clients to publish requests +ACL ALLOW client PUBLISH EXCHANGE name="amq.direct" routingKey="example.RequestQueue" + +# Allow the processor to respond to a client on their Temporary Topic +ACL ALLOW server PUBLISH EXCHANGE name="amq.direct" routingKey="tmp_*" +ACL ALLOW server PUBLISH EXCHANGE name="amq.direct" routingKey="TempQueue*" + +# This section grants users the ability to consume from the broker + +# Allow client to consume from temporary queues +ACL ALLOW client CONSUME QUEUE temporary=true + +# Only allow the server to consume from the Request Queue +ACL ALLOW server CONSUME QUEUE name="example.RequestQueue" + +# Allow client and server to consume from kipper queues +ACL ALLOW client CONSUME QUEUE name="clientid:kipper" +ACL ALLOW server CONSUME QUEUE name="clientid:kipper" + +# This section grants users the ability to create/delete queues and exchanges + +# Allow clients to create and delete temporary and kipper queue on this exchange +ACL ALLOW client CREATE QUEUE temporary=true +ACL ALLOW client DELETE QUEUE temporary=true +ACL ALLOW client CREATE QUEUE durable="true" +ACL ALLOW client DELETE QUEUE durable="true" + +# Allow the server to create the Request Queue and kipper queue +ACL ALLOW server CREATE QUEUE name="example.RequestQueue" +ACL ALLOW server CREATE QUEUE name="clientid:kipper" + +## Allow client and server exchange access for the relevant queues +ACL ALLOW client BIND EXCHANGE name="amq.direct" temporary=true +ACL ALLOW client UNBIND EXCHANGE name="amq.direct" temporary=true +ACL ALLOW client BIND EXCHANGE name="amq.direct" durable=true +ACL ALLOW client UNBIND EXCHANGE name="amq.direct" durable=true +ACL ALLOW server BIND EXCHANGE name="amq.direct" queueName="example.RequestQueue" + +## Allow client and server exchange access for the relevant topics +ACL ALLOW client BIND EXCHANGE name="amq.topic" durable=true routingKey=kipper +ACL ALLOW client UNBIND EXCHANGE name="amq.topic" durable=true routingKey=kipper +ACL ALLOW server BIND EXCHANGE name="amq.topic" durable=true routingKey=kipper + +# Action[operation=BIND,objectType=EXCHANGE,properties={OWNER=client, DURABLE=true, QUEUE_NAME=IllegalQueue, AUTO_DELETE=false, ROUTING_KEY=IllegalQueue, NAME=amq.direct, TEMPORARY=false, EXCLUSIVE=false}] + + +ACL ALLOW client CREATE EXCHANGE +ACL ALLOW server CREATE EXCHANGE |