camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <ch0...@gmail.com>
Subject Re: Basic Authentication - Camel Jetty
Date Wed, 08 Oct 2014 06:23:23 GMT
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 <contactreji@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message