HawtIO ActiveMQ Plugin - ConstraintMapping

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

HawtIO ActiveMQ Plugin - ConstraintMapping

Justin Reock
Hi all,

I'm attempting to set up ConstraintMapping in jetty.xml for non-admin users against jolokia/HawtIO.  I'm having trouble tracking down the actual URLs that are used to do create/write/delete operations.  Where can I find the HawtIO source code for the ActiveMQ plugin?  Or, even better, has anyone already done this research and can you point me to the right URL patterns to constrain these operations within Jolokia?

Thanks,
Justin
Reply | Threaded
Open this post in threaded view
|

Re: HawtIO ActiveMQ Plugin - ConstraintMapping

Claus Ibsen
Hi

The source code for hawtio is at github. The activemq plugin is at
https://github.com/hawtio/hawtio/tree/master/hawtio-web/src/main/webapp/app/activemq

Work is ongoing on hawtio to add role based security in the ui as
well, eg so only admin users can see the create queue button etc.
Though its using the rbac support from karaf 2.4/3x. as insipiration
for the out of the box settings, so role names is admin,viewer (I
think).

On Sat, Oct 11, 2014 at 12:05 AM, Justin Reock
<[hidden email]> wrote:
> Hi all,
>
> I'm attempting to set up ConstraintMapping in jetty.xml for non-admin users against jolokia/HawtIO.  I'm having trouble tracking down the actual URLs that are used to do create/write/delete operations.  Where can I find the HawtIO source code for the ActiveMQ plugin?  Or, even better, has anyone already done this research and can you point me to the right URL patterns to constrain these operations within Jolokia?
>
> Thanks,
> Justin



--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [hidden email]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/