i have create a acl file
with the following writes

acl allow nith...@qpid create link
acl allow nith...@qpid create exchange name=AlterExch
acl allow nith...@qpid create queue
acl allow nith...@qpid bind exchange name=AlterExch routingkey=routing_key
acl allow nith...@qpid create all

acl deny all all


i have started the broker with the following options
qpidd --default-queue-limit 0 --port 5004 --acl-file
/root/qpid0.5/qpidc-0.5/etc/sasl2/qpidd.acl

but when i tried to connect to the broker
using
connection.open(host, port, "nithesh", "nithesh");
Session session = connection.newSession();

session.exchangeDeclare(arg::exchange = "AlterExch", arg::type = "direct");
session.queueDeclare(arg::queue="AlterQueue", arg::exclusive=false,
arg::autoDelete=false);


but it gives the following warning
Exception received from broker: not-allowed: not-allowed: ACL denied
exchange query reqeust from nith...@qpid
(qpid/broker/SessionAdapter.cpp:153)[caused by 0 \x07:\x03]
-- 
View this message in context: 
http://n2.nabble.com/qpid-with-ACL-tp3119159p3119159.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to