[
https://issues.apache.org/jira/browse/ARTEMIS-4950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17868376#comment-17868376
]
ASF subversion and git services commented on ARTEMIS-4950:
----------------------------------------------------------
Commit 985321191388430390a51f451b543f36382345d6 in activemq-artemis's branch
refs/heads/main from Andy Taylor
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=9853211913 ]
ARTEMIS-4950 - MBeanGuard throws an NPE
Although this doesnt affect the current console it does the new so needs
addressing
> MBeanGuard throws an NPE
> ------------------------
>
> Key: ARTEMIS-4950
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4950
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Andy Taylor
> Assignee: Andy Taylor
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> HawtIO calls invoke with a null operationName as a coarse grained way of
> authenticating against all the operations on an mbean. This throws a null
> pointer on operationName later in this call which is swallowed by HawtIO.
> Since fine grained checks are carried out against every operation this was
> never an issue however the new console based on HawtIO 4 passes this
> exception back to the console which breaks it. Since it is just an
> optimisation it is fine to always return true. Note that the alternative
> ArtemisRbacInvocationHandler does allow the ability to restrict a whole mbean
--
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