29.4. Changing the security manager
If you do not want to use the default security manager, you can specify a different one by editing the file
hornetq-jboss-beans.xml
and changing the class for the HornetQSecurityManager
bean.
HornetQ ships with two security manager implementations you can use. One is a JAAS security manager and the other is for integrating with JBoss Enterprise Application Platform security. Alternatively you could write your own implementation by implementing the
org.hornetq.spi.core.security.HornetQSecurityManager
interface, and specifying the class name of your implementation in the file hornetq-jboss-beans.xml
.
These two implementations are discussed in the next two sections.