-
-
Notifications
You must be signed in to change notification settings - Fork 7
Securing connections
Dannes Wessels edited this page Aug 27, 2015
·
24 revisions
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"/>to be written