activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (AMQ-3048) findMBeanServer not executed in a AccessController.doPrivileged throws SecurityException if a security manager is enabled
Date Tue, 07 Aug 2012 21:25:09 GMT

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

Timothy Bish closed AMQ-3048.
-----------------------------

    Resolution: Won't Fix
    
> findMBeanServer not executed in a AccessController.doPrivileged throws SecurityException
if a security manager is enabled
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-3048
>                 URL: https://issues.apache.org/jira/browse/AMQ-3048
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.4.1
>            Reporter: Trejkaz
>
> The broker's ManagementContext makes a call to findMBeanServer() which fails in secure
environments even if ActiveMQ has the permissions required to find an MBean server, because
a doPrivileged() block has not been wrapped around the call.
> The code should either use a doPrivileged() block (if the JMX server is important), or
catch the SecurityException and not have a JMX server, if it doesn't want one.

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

        

Mime
View raw message