You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/10/22 19:45:00 UTC

[jira] [Work logged] (ARTEMIS-6317) Reuse code between MBean guards

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

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

                Author: ASF GitHub Bot
            Created on: 22/Oct/26 19:44
            Start Date: 22/Oct/26 19:44
    Worklog Time Spent: 10m 
      Work Description: jbertram opened a new pull request, #6821:
URL: https://github.com/apache/artemis/pull/6821

   Reuse code between MBean guard implementations where it makes sense.
   
   Other changes include:
    - Fix ArtemisRbacInvocationHandler handling of "equals" to match ArtemisMBeanServerBuilder.
    - Drop the finalize() special handling case.
    - "queryNames" is now included in the shared guarded-method set; no functional change since ArtemisMBeanServerGuard treats all query calls as a no-op.
    - Increase test coverage.




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

            Worklog Id:     (was: 1049409)
    Remaining Estimate: 0h
            Time Spent: 10m

> Reuse code between MBean guards
> -------------------------------
>
>                 Key: ARTEMIS-6317
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-6317
>             Project: Artemis
>          Issue Type: Task
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> There is significant functional overlap between the implementations that handle enforcing RBAC on MBeans  (i.e. one based on {{management.xml}}, one based on {{mops}} {{security-settings}} in {{broker.xml}}). However, there is very little (if any) code reuse between these implementations which means that effort must be duplicated or fixes are potentially not applied fully.
> These implementations should be refactored to reuse code where possible.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org