[ 
https://issues.apache.org/jira/browse/QPID-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell resolved QPID-4186.
----------------------------------

    Resolution: Fixed

Patch applied with one tiny change:

{noformat}
@@ -157,9 +157,9 @@ public class MBeanInvocationHandlerImpl implements 
InvocationHandler, Notificati
 
             // Save the subject
             SecurityManager.setThreadSubject(subject);
+            CurrentActor.set(_logActor);
             try
             {
-                CurrentActor.set(_logActor);
                 return authoriseAndInvoke(method, args);
             }
             finally
{noformat}
                
> JMX management ACL allow/deny logging not useful because it does not include 
> principal name
> -------------------------------------------------------------------------------------------
>
>                 Key: QPID-4186
>                 URL: https://issues.apache.org/jira/browse/QPID-4186
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.16
>            Reporter: Alex Rudyy
>            Assignee: Robbie Gemmell
>             Fix For: 0.19
>
>         Attachments: 
> 0001-QPID-4186-MBeanInvocationHandler-now-sets-log-actor-.patch
>
>
> When a security plugin (e.g. the ACL plugin) allows or denies an operation, 
> an operational log message is produced. Unfortunately the message does not 
> include the user name (the log actor "Broker" is printed instead) so is of 
> limited use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to