Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

routingkey in publish to exchange X

result

a.b

allow-log

a.x.b

allow-log

a.x.y.zz.b

allow-log

a.b.

deny

q.x.b

deny

Publishing to the Unnamed Exchange

In the C++ Broker 0.24 a new keyword, qpid.default, is added to be used in PUBLISH EXCHANGE rules. This keyword is used as the name of the unnamed exchange so that ACL rules may be specified which control who is allowed to publish directly to queues. In this example:

Code Block

acl deny bob@QPID publish exchange name=qpid.default routingkey=ProtectedQueue

user bob@QPID is not allowed to publish directly to queue ProtectedQueue.

Validation

Note: In the C++ Broker (0.16 and later) the following validation is performed on ACL rule files:

...