Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-5614

amq-broker7 on openshift propertiesLoginModules not setting roles correctly

    XMLWordPrintable

Details

    Description

      loginModules:
          propertiesLoginModules:
            - name: prop-module
              users:
                - name: Ramu
                  password: pass
                  roles: ["xyz.jms.Stream.in.Queue-reader"]
                - name: abc
                  password: pass
                  roles: ["xyz.jms.Stream.in.Queue-reader", "xyz.jms.Stream.in.Queue-writer"]

      this generates the following artemis-role.properties

      admin = admin
      xyz.jms.Stream.in.Queue-reader = Ramu, abc
      xyz.jms.Stream.in.Queue-writer = abc

      however, when I display the list of users through the cli I get:

      sh-4.4$ amq-broker/bin/artemis user list --user admin --password pass --url tcp://broker-ss-0:61616
      Connection brokerURL = tcp://broker-ss-0:61616
      --- "user"(roles) ---
      "admin"(admin)
      "abc"(xyz.jms.Stream.in.Queue-writer)
      "Ramu"(xyz.jms.Stream.in.Queue-reader)

      abc should have the xyz.jms.Stream.in.Queue-reader role.

       

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jbertram Justin Bertram
              rhn-support-kkakarla kodandaRamu kakarla
              Roman Vais Roman Vais
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: