Thanks for your prompt response...

Carl Trieloff wrote:
> 
> 
> Fastest way is to turn trace on the client (or broker) to make see the 
> types of requests.
> 
> The error, is indicating you need 'access' permission for an exchange.
> 
> See the table on http://qpid.apache.org/acl.html#ACL-specification for 
> what permission
> covers what. {Mapping of ACL traps to action and type }
> 
> Carl.
> 
> 
> ft420 wrote:
>> 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]
>>   
> 
> 
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/qpid-with-ACL-tp3119159p3123812.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