OpenJMS provides support for connection authentication, to ensure only valid users may connect to the server.
Security is configured in the $OPENJMS_HOME/config/openjms.xml file, via the <SecurityConfiguration> and <Users> elements. E.g:
<SecurityConfiguration securityEnabled="true"/> <Users> <User name="admin" password="openjms"/> <User name="user1" password="password1"/> <User name="user2" password="password2"/> </Users>
In the above, security is enabled, and three users are registered: admin, user1 and user2