You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2013/10/03 10:36:48 UTC

[jira] [Comment Edited] (KARAF-2435) Add Role-based access to JMX

    [ https://issues.apache.org/jira/browse/KARAF-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784921#comment-13784921 ] 

David Bosschaert edited comment on KARAF-2435 at 10/3/13 8:36 AM:
------------------------------------------------------------------

There is a tiny mis-merge in the karaf-management.xml file that causes the org.apache.karaf.management.server bundle to fail in Blueprint.

The property name in the jmxSecurityMBean should be MBeanServer (capital MB), like this:
    <bean id="jmxSecurityMBean" class="org.apache.karaf.management.internal.JMXSecurityMBeanImpl">
        <property name="MBeanServer" ref="mbeanServer"/>
    </bean>

Currently the code contains mbeanServer (lowercase mb). Blueprint fails on this bundle for that reason...

I'm reopening this bug to track it.


was (Author: bosschaert):
There is a tiny mis-merge in the karaf-management.xml file that causes the org.apache.karaf.management.server bundle to fail in Blueprint.

The the property name in the jmxSecurityMBean should be MBeanServer (capital MB), like this:
    <bean id="jmxSecurityMBean" class="org.apache.karaf.management.internal.JMXSecurityMBeanImpl">
        <property name="MBeanServer" ref="mbeanServer"/>
    </bean>

Currently the code contains mbeanServer (lowercase mb). Blueprint fails on this bundle for that reason...

I'm reopening this bug to track it.

> Add Role-based access to JMX
> ----------------------------
>
>                 Key: KARAF-2435
>                 URL: https://issues.apache.org/jira/browse/KARAF-2435
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-core
>            Reporter: David Bosschaert
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>         Attachments: 0001-Role-based-access-control-for-JMX.patch
>
>
> Add support for role-based access control to JMX MBeans that are exposed from a Karaf instance.
> For details see this mail thread: http://mail-archives.apache.org/mod_mbox/karaf-dev/201308.mbox/%3CCAMit8Sop8WCYUopvMuGJaq6%2BHcaKHQD-CUa5AtEdwSF2A2h%3Ddg%40mail.gmail.com%3E
> I have done an implementation that can be found here:
> https://github.com/bosschaert/karaf/commit/bfee2d1b2c736c9b54cbfce8e4b07c8cfadf980f
> Would be more than happy to change things if needed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)