Hi Reji, You can configure a JettySecurity handler and pass it as parameter. Here is an example :
https://github.com/apache/camel/blob/master/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpBasicAuthTest.java Regards, On Tue, Oct 7, 2014 at 8:26 PM, contactreji <contactr...@gmail.com> wrote: > Hi > > Can someone help me with a way to implementing Basic Authentication to > camel > jetty consumer? > > I am trying to avoid JAAS here. What are the other alternatives? Does > inInterceptors work for jetty? is that a good way of doing things? > > Would be helpful if someone can share the piece of code. > > Cheers > Reji > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Basic-Authentication-Camel-Jetty-tp5757392.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io