Skip to content

Securing connections

Dannes Wessels edited this page Aug 27, 2015 · 24 revisions

Authentication

Simple example: Configuring ActiveMQ

Add a snippet like below to the <broker> section of the activemq.xml configuration file. Note nate ActiveMQ provides sophisticated authentication messages for 'real' usage'

<plugins>
  <simpleAuthenticationPlugin anonymousAccessAllowed="false">
    <users>
        <authenticationUser username="system" password="manager"
            groups="users,admins"/>
        <authenticationUser username="user" password="password"
            groups="users"/>
        <authenticationUser username="myusername" password="mypassword" 
            groups="guests"/>
    </users>
  </simpleAuthenticationPlugin>
</plugins>

On the broker site define connection.username and connection.password' in the scripts or in conf.xml`:

  <parameter name="connection.username" value="myusername"/>
  <parameter name="connection.password" value="mypassword"/>

SSL

to be written

Clone this wiki locally