You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by "cardamon (via GitHub)" <gi...@apache.org> on 2024/04/17 11:13:07 UTC

Re: [PR] ARTEMIS-4582 - view and update permissions, for jmx. and activemq.man… [activemq-artemis]

cardamon commented on PR #4820:
URL: https://github.com/apache/activemq-artemis/pull/4820#issuecomment-2061015235

   FYI this introduces a breaking change that should probably be documented @ https://activemq.apache.org/components/artemis/documentation/latest/versions.html#upgrading-from-2-32-0
   
   If you're embedding the broker, and using a custom `org.apache.activemq.artemis.spi.core.security.ActiveMQSecurityManager5` implementation, one must now either override `org.apache.activemq.artemis.spi.core.security.ActiveMQSecurityManager#getUserFromSubject` or ensure that `org.apache.activemq.artemis.spi.core.security.jaas.UserPrincipal` is used in the return value of the implementation of `org.apache.activemq.artemis.spi.core.security.ActiveMQSecurityManager5#authenticate`.
   
   Not doing so will cause authentication failures (`AMQ222216`) that can be quite difficult to debug ...


-- 
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-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org