Ok, so it seems that implementing org.apache.cxf.jaxrs.ext.RequestHandler could help me. How to register such a provider then?
We have REST interfaces created like this: <camel-cxf:rsServer id="restFoo" address="/rest/foo" serviceClass="com.rest.FooRest"/> We have few of these. I'm not sure, it it's possible to register jax-rs provider with this. On Mon, May 20, 2013 at 10:02 AM, Ioan Eugen Stan <stan.ieu...@gmail.com> wrote: > Hello Martin, > > I think you could try addding a Filter or Interceptor that does Basic > Auth. If you're using CXF you could try something like [1] > > Hope it helps, > > [1] http://cxf.apache.org/docs/secure-jax-rs-services.html > > On Mon, May 20, 2013 at 10:48 AM, Martin Stiborský > <martin.stibor...@gmail.com> wrote: >> Hello guys, >> a joke is saying that a number of tabs opened in web browser related >> to some problem could help you to estimate the time needed for >> implementation. >> I have now about 33 tabs opened :) I need to secure my REST interface, >> with HTTP Basic auth. >> >> In the project, we are currently still with Camel 2.10.1 (not yet >> resolved some troubles with upgrade to 2.11 :( ), we are using OSGi >> and Aries blueprint. All deployed into Apache Karaf. >> >> Just a simple hint which way to go is goood enough for me. >> Right now, I'm checking JAAS, but I'm really lost in this topic. >> >> -- >> S pozdravem / Best regards >> Martin Stiborský >> >> Jabber: st...@njs.netlab.cz >> Twitter: http://www.twitter.com/stibi > > > > -- > Ioan Eugen Stan > 0720 898 747 -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi