You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2025/02/12 21:56:00 UTC

[jira] [Created] (ARTEMIS-5310) Cache Subject last

Justin Bertram created ARTEMIS-5310:
---------------------------------------

             Summary: Cache Subject last
                 Key: ARTEMIS-5310
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5310
             Project: ActiveMQ Artemis
          Issue Type: Dependency upgrade
            Reporter: Justin Bertram
            Assignee: Justin Bertram


It's possible that a user is properly authenticated and their valid {{Subject}} cached but then fail to be granted access due to another problem (e.g. the {{LoginModule}} implementation returns an unexpected {{UserPrincipal}} implementation). Furthermore, upon retry the user will be granted access due to the cached {{Subject}} which is confusing.

This can be resolve by caching the {{Subject}} after all other security-related logic is executed.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact