Configure the JAAS Security Manager
JAAS Security Manager JAAS stands for 'Java Authentication and Authorization Service' and is a standard part of the Java platform. It provides a common API for security authentication and authorization, allowing you to plugin your pre-built implementations. To configure the JAAS security manager to work with your pre-built JAAS infrastructure you need to specify the security manager as a JAASSecurityManager in the beans file. Here's an example: org.hornetq.jms.example.ExampleLoginModule Note that you need to feed the JAAS security manager with three properties: ConfigurationName: the name of the LoginModule implementation that JAAS must use Configuration: the Configuration implementation used by JAAS CallbackHandler: the CallbackHandler implementation to use if user interaction are required 31.5.1. Example See Section 11.1.19, “JAAS� for an example which shows how HornetQ can be configured to use JAAS.