Hi,

yes, it should be possible. The best is to look at KC examples. Here https://github.com/keycloak/keycloak/tree/master/examples/demo-template/database-service is the example of resteasy based jax-rs service secured by Bearer tokens. The tokens are sent to it from the frontend application (either servlet JEE application - see https://github.com/keycloak/keycloak/tree/master/examples/demo-template/customer-app or JS application - see https://github.com/keycloak/keycloak/tree/master/examples/demo-template/customer-app-js )

Marek

On 17.4.2014 18:39, Matt Casperson wrote:
We have a need for browser based apps to interact with a message queue, and the HornetQ REST interface looks like it could serve us quite well. Since the HornetQ REST interface uses RESTEasy, is it possible to secure it like any other REST service via KeyCloak?

Regards

Matthew Casperson
RHCE, RHCJA, RHCJD # 111-072-237
Engineering Content Services
Brisbane, Australia



_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev