[ https://issues.apache.org/jira/browse/ARTEMIS-3569?focusedWorklogId=682773&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-682773 ]
ASF GitHub Bot logged work on ARTEMIS-3569: ------------------------------------------- Author: ASF GitHub Bot Created on: 17/Nov/21 17:02 Start Date: 17/Nov/21 17:02 Worklog Time Spent: 10m Work Description: gtully commented on pull request #3849: URL: https://github.com/apache/activemq-artemis/pull/3849#issuecomment-971775838 @brusdev thanks for your feedback. I have removed the duplication of validateUser and removed RejectedResult in favour of a result with a status enum. It does look better. Thanks again. -- 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. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 682773) Time Spent: 1h 20m (was: 1h 10m) > Broker balancer based on authenticated user role assignment > ----------------------------------------------------------- > > Key: ARTEMIS-3569 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3569 > Project: ActiveMQ Artemis > Issue Type: Improvement > Components: balancer > Affects Versions: 2.19.0 > Reporter: Gary Tully > Assignee: Gary Tully > Priority: Major > Fix For: 2.20.0 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > following up on ARTEMIS-3365 for the local target path. > add support for ROLE_NAME as a targetKey. > Matching one of the Roles of an authenticated principal associated with a > connection, accept or reject the connection based on some partition policy > based on the role. > Using the existing regular expression based filter, it is possible to ensure > a sub set of roles are associated with a given broker. > The symmeteric-simple-example that uses the client id key type can be > extended to support partitioning on role assignment, the configuration, to > use role names that begin with "PARTITION_" and match "PARTITION_FOO" to > this broker, would be of the form: > {code:java} > <broker-balancer name="symmetric-simple-role"> > <target-key>ROLE_NAME</target-key> > <target-key-filter>^PARTITION_*</target-key-filter> > <local-target-filter>^PARTITION_FOO.*</local-target-filter> > </broker-balancer> {code} > -- This message was sent by Atlassian Jira (v8.20.1#820001)