You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/11/03 13:42:02 UTC

[jira] [Work logged] (ARTEMIS-2974) Audit logger can print wrong user info

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

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

                Author: ASF GitHub Bot
            Created on: 03/Nov/20 13:41
            Start Date: 03/Nov/20 13:41
    Worklog Time Spent: 10m 
      Work Description: jbertram opened a new pull request #3326:
URL: https://github.com/apache/activemq-artemis/pull/3326


   Using a ThreadLocal for the audit user information works in most cases,
   but it can fail when dispatching messages to consumers because threads
   are taken out of a pool to do the dispatching and those threads may not
   be associated with the proper credentials. This commit fixes that
   problem with the following changes:
   
    - Passes the Subject explicitly when logging audit info during dispatch
    - Relocates security audit logging from the SecurityManager
   implementation(s) to the SecurityStore implementation
    - Associates the Subject with the connection properly with the new
   security caching


----------------------------------------------------------------
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.

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


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

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

> Audit logger can print wrong user info
> --------------------------------------
>
>                 Key: ARTEMIS-2974
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2974
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When dispatching messages to consumer the audit logger may print the wrong user info.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)