Hi Christopher,


>
> Is there any support within the Ajax servlet for authentication and
> authorisation? I've been able to use AMQ's JAAS support within the broker
> itself and wonder if this can somehow extend to the Ajax servlet.


No, currently there is no way to achieve the same connectivity
authentication and authorization as when you connecting directly to the
broker. The best you can do is to connect the servlet to the secured broker
in a similar way as it is done for web console
http://cwiki.apache.org/confluence/display/ACTIVEMQ/Security#Security-SecurityandActiveMQComponents

There is a room for improvement in this area, so any contributions are more
than welcomed.



>
> P.S. I'm wondering if the AJAX support should be built into the broker
> directly... I would imagine that the AJAX servlet could provide a popular
> means of broker connectivity... or should I be looking at the
> connection-oriented STOMP instead of the AJAX servlet?
>

Sure, if you can use Stomp in your environment, it is a better choice than
REST API, since it is more messaging oriented.

Cheers
--
Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net

Reply via email to