You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2020/12/09 20:01:59 UTC

[GitHub] [activemq-artemis] jbertram commented on a change in pull request #3281: ARTEMIS-1884 add plugin API for message level authorization policies

jbertram commented on a change in pull request #3281:
URL: https://github.com/apache/activemq-artemis/pull/3281#discussion_r539606773



##########
File path: examples/features/standard/broker-msg-auth-plugin/readme.md
##########
@@ -0,0 +1,5 @@
+# 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 minutes so this plugin may cause excessive authentication if used without configuring the security-invalidation-interval limit appropriately. 

Review comment:
       The default `security-invalidation-interval` is actually 10000 milliseconds (i.e. 10 seconds), not 10 minutes.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org