[ 
https://issues.apache.org/jira/browse/ARTEMIS-5683?focusedWorklogId=985506&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-985506
 ]

ASF GitHub Bot logged work on ARTEMIS-5683:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Oct/25 16:50
            Start Date: 02/Oct/25 16:50
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on code in PR #5948:
URL: https://github.com/apache/activemq-artemis/pull/5948#discussion_r2399431427


##########
docs/user-manual/security.adoc:
##########
@@ -349,6 +349,21 @@ Whether or not to map the legacy `read` permission to the 
`createDurableQueue`,
 This was allowed in ActiveMQ Classic.
 The default value is `false`.
 
+anyWordsWildcardConversion::
+This is a 1-character value that should match the `any-words` 
xref:wildcard-syntax.adoc#customizing-the-syntax[wildcard syntax] setting 
defined for the broker.
+The plugin will translate any `<` or `$` character to this value in an LDAP 
entry defining a destination name.

Review Comment:
   Check out 
`org.apache.activemq.artemis.core.server.impl.LegacyLDAPSecuritySettingPlugin#convertDestinationWildcards`.
 The `$` conversion is a special case just as it was in 
[`SimpleCachedLDAPAuthorizationMap`](https://github.com/apache/activemq/blob/f68fff981b5a7b62a68b8c2f4ef01c73cf2d3404/activemq-broker/src/main/java/org/apache/activemq/security/SimpleCachedLDAPAuthorizationMap.java#L588).





Issue Time Tracking
-------------------

    Worklog Id:     (was: 985506)
    Time Spent: 0.5h  (was: 20m)

> Properly convert wildcards in LegacyLDAPSecuritySettingPlugin
> -------------------------------------------------------------
>
>                 Key: ARTEMIS-5683
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5683
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Classic supports translating {{$}} into {{<}} for wildcards in its 
> [{{SimpleCachedLDAPAuthorizationMap}}|https://github.com/apache/activemq/blob/f68fff981b5a7b62a68b8c2f4ef01c73cf2d3404/activemq-broker/src/main/java/org/apache/activemq/security/SimpleCachedLDAPAuthorizationMap.java#L588].
>  The corresponding {{LegacyLDAPSecuritySettingPlugin}} in Artemis should do 
> the same.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to