5.13.0 5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0 4.10 4.9 4.8 4.7 4.6 4.5.3 4.5.2 4.5.1 4.5 4.4 4.3
5.13.0 5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0 4.10 4.9 4.8 4.7 4.6 4.5.3 4.5.2 4.5.1 4.5 4.4 4.3

Authentication Enablement for ActiveMQ

For ActiveMQ

In ActiveMQ-k8s Repository

  1. In activemq.xml file add the following plugins

            <simpleAuthenticationPlugin>
                <users>
                    <authenticationUser username="${ACTIVEMQ_USERNAME}" password="${ACTIVEMQ_PASSWORD}" groups="admins"/>
                    <authenticationUser username="user" password="RXhwZXJ0ZmxvdzEyMw" groups="users"/>
                </users>
            </simpleAuthenticationPlugin>

            <authorizationPlugin>
                <map>
                    <authorizationMap>
                        <authorizationEntries>
                            <authorizationEntry queue=">" read="admins" write="admins" admin="admins"/>
                            <authorizationEntry topic=">" read="admins" write="admins" admin="admins"/>
                        </authorizationEntries>
                    </authorizationMap>
                </map>
            </authorizationPlugin>
  1. After adding the above, please create a tag in CI/CD pipeline.

In Solution

  1. Update the tag in values.yaml file of ActiveMQ.

  2. Add the following environment variables in values.yaml file of ActiveMQ.

   - name: ACTIVEMQ_USERNAME
     value: "admin"
   - name: ACTIVEMQ_PASSWORD
     value: "RXhwZXJ0ZmxvdzQ2NA"

For Components

  1. Update the component tag to Authentication enabled one.

  2. Please update these environment variables in efConnectionVars section.

   ACTIVEMQ_USERNAME: "admin" 
   ACTIVEMQ_PASSWORD: "RXhwZXJ0ZmxvdzQ2NA"