[AMQ 7] How to restrict an authorised user from creating an address that contains an asterisk?
Issue
- We have used '*' (asterisk) in the configuration to allow a custom word to appear in the address name as shown below:
<security-setting match="ABC.*.XY">
<permission type="createNonDurableQueue" roles="abc"/>
<permission type="createDurableQueue" roles="abc"/>
<permission type="createAddress" roles="abc"/>
<permission type="send" roles="abc"/>
<permission type="consume" roles="abc"/>
<permission type="browse" roles="abc"/>
</security-setting>
However, some clients are misusing this and creating consumers containing an asterisk without substituting the asterisk with a valid name. How to prevent consumers from creating addresses that contain an asterisk?
Environment
- Red Hat AMQ (AMQ)
- 7.7.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.