Hi, 

  I am struggling to get working access control rights with specified
routingKey when routingKey contains wildcard "#" or "*".

  When i have ACL rule with "#" wildcard

ALLOW-LOG test PUBLISH EXCHANGE name="broadcast" routingKey="#"

  and I send message with routing key "test", I receive error 

Permission ACTION(publish) is denied for : Exchange 'broadcast' on
VirtualHost 'default'

  but when I set message routing key to "#", message is successfully sent.

  When I use "*" wildcard in routingKey 

ACL ALLOW-LOG amqpsrv PUBLISH EXCHANGE name="broadcast" routingKey="ABCD.*"

  and I send message with routing key "ABCD.test", I receive same error as
before

Permission ACTION(publish) is denied for : Exchange 'broadcast' on
VirtualHost 'default'

  this error is also same when I set message routing key to "ABCD.*".

Is there a way to restrict access by routing key with wildcard? Am I doing
everything correctly? I used
https://qpid.apache.org/releases/qpid-java-6.1.2/java-broker/book/Java-Broker-Security-ACLs.html
as source of information.

Vavricka



--
View this message in context: 
http://qpid.2158936.n2.nabble.com/Java-Broker-Access-control-rights-routingKey-and-wildcard-tp7662212.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to