Simple Authorisation wild card

Solution Verified - Updated -

Issue

We are using the simple authorisation plugin in our broker but I am having some difficulty with the wild carding. Wild cards only appear to work following a . in the queue/topic name. This is not mentioned in the documentation so I wanted to clarify how we can use a wildcard (if at all) in our configuration.

Below is an extract from our broker config showing where I would like to use wildcards.

 <authorizationEntry queue="IP_BSS_CLEARANCE"      <------- would like to use wildcard here - example below
                                    read="BSS"
                                    write="IP"
                                    /> 
 <authorizationEntry queue="DEBUG.>"                <-------- Use of wildcard here works (following a .)
                                    read="DEBUG"
                                    write="DEBUG"
                                    />
  <authorizationEntry queue="ERR_LOGICAL"
                                    read="BSS,RMS,IP,DEBUG"
                                    write="BSS,RMS,IP,DEBUG"
                                    />

Example with wildcards

<authorizationEntry queue="IP_BSS_>"               <-------------- This does not work.
                                    read="BSS"
                                    write="IP"
                                    />

Environment

Fuse Message Broker 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content