I am trying to proxy calls from the camel/integration layer of my
architecture to my services layer.

The services themselves are implemented using Spring REST.

I would like to use camel to intercept requests to our services, run XACML
rules against these requests, and then (presuming the call is authorized)
forward these requests to the actual services for execution.

Doing this with CXF components is trivial as CXF supports XACML. How though
can I do this if I have no JAX-RS classes to initialize a cxf-rs
interceptor with?

I would love to be able to accepts ANY request, run CXF interceptors and
then proxy that same call down to some arbitrary other service (what if the
rest service is implemnted in Ruby?).

Is this possible? What is the best approach?

Using a servlet component to proxy the call works but I cannot use CXF to
perform processing in that case.

Also, any interest in a XACML processor that can be used as a PEP outside
CXF? The same rules should be able to also protect JMS/file submission etc.

Thanks,

Mike

Reply via email to