ActiveMQArtemisSecurity adds whitespaces in a comma-separated list of users which belonging to the same role

Solution Verified - Updated -

Issue

  • The ActiveMQArtemisSecurity adds whitespaces in a comma-separated list of users which belonging to the same role when using the properties login module:

    $ oc rsh amq-broker-ss-0 cat /home/jboss/amq-broker/etc/artemis-roles.properties
    admin = admin
    userRole = bob, alice
    

Due to that, the broker is not able to deal with the whitespaces and doesn't assign "alice" to the role "userRole".

Environment

  • OpenShift Container 4
  • AMQ Broker 7.9

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