Change the HornetQ Security Manager
31.4. Changing the security manager If you do not want to use the default security manager then you can specify a different one by editing the file hornetq-beans.xml (or hornetq-jboss-beans.xml if you're running JBoss Application Server) and changing the class for the HornetQSecurityManager bean. Let's take a look at a snippet from the default beans file: The class org.hornetq.spi.core.security.HornetQSecurityManagerImpl is the default security manager that is used by the standalone server. HornetQ ships with two other security manager implementations you can use off-the-shelf; one a JAAS security manager and another for integrating with JBoss Application Sever security, alternatively you could write your own implementation by implementing the org.hornetq.core.security.SecurityManager interface, and specifying the classname of your implementation in the file hornetq-beans.xml (or hornetq-jboss-beans.xml if you're running JBoss Application Server). These two implementations are discussed in the next two sections.