activemq-artemis/examples/features/standard/broker-msg-auth-plugin
Robbie Gemmell 587e0f8252 ARTEMIS-3451: add dependencyManagement entry for qpid-jms-client, remove various redundant uses of property 2021-08-30 17:26:28 +01:00
..
src/main ARTEMIS-1884 add plugin API for message level authorization policies 2021-01-25 13:44:36 -06:00
pom.xml ARTEMIS-3451: add dependencyManagement entry for qpid-jms-client, remove various redundant uses of property 2021-08-30 17:26:28 +01:00
readme.md ARTEMIS-1884 add plugin API for message level authorization policies 2021-01-25 13:44:36 -06:00

readme.md

Broker Plugin 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 shows how a message plugin can be used to filter message sent to a consumer depending on that consumers roles. Credentials for a user are by default invalidated every 10 seconds so this plugin may cause excessive authentication if used without configuring the security-invalidation-interval limit appropriately.