tree: 8a3d5d97a8817452752f90699b679e44d4d1e3c9 [path history] [tgz]
  1. src/
  2. pom.xml
  3. readme.md
examples/features/standard/security-manager/readme.md

JMS Security Manager Example

If you have not already done so, prepare the broker distribution before running the example.

To run the example, simply type mvn verify from this directory, or mvn -PnoServer verify if you want to start and create the broker manually.

This example is based on the “security” example and demonstrates how to implement a custom security manager. The custom security manager in this example simply logs details for authentication and authorization and then passes everything through to an instance of org.apache.activemq.artemis.spi.core.security.ActiveMQJAASSecurityManager (i.e. the default security manager).