[
https://issues.apache.org/jira/browse/ARTEMIS-3569?focusedWorklogId=683226&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-683226
]
ASF GitHub Bot logged work on ARTEMIS-3569:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 18/Nov/21 10:56
Start Date: 18/Nov/21 10:56
Worklog Time Spent: 10m
Work Description: gtully commented on a change in pull request #3849:
URL: https://github.com/apache/activemq-artemis/pull/3849#discussion_r752127038
##########
File path:
artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/amq/AMQSession.java
##########
@@ -133,7 +133,8 @@ public void initialize() {
// now
try {
- coreSession = server.createSession(name, username, password,
minLargeMessageSize, connection, true, false, false, false, null, this, true,
connection.getOperationContext(), protocolManager.getPrefixes(),
protocolManager.getSecurityDomain());
+ final String validatedUser = server.validateUser(username, password,
connection, protocolManager.getSecurityDomain());
Review comment:
that is wise. thanks
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 683226)
Time Spent: 2.5h (was: 2h 20m)
> 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: 2.5h
> 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)