Mathias-

Check out the Camel Jetty component doc. You have to configure up the security 
handles to specify what type of security you want enabled for Jetty.. in your 
case HTTP Basic Auth. Then specify the handler in the jetty uri

https://camel.apache.org/components/3.11.x/jetty-component.html 
<https://camel.apache.org/components/3.11.x/jetty-component.html>

-Matt Pavlovich

> On Nov 9, 2021, at 12:02 PM, Matthias Leinweber <[email protected]> 
> wrote:
> 
> Hello,
> 
> I asked something similiar a while ago. I am looking for a working example 
> how to inject the Karaf JAAS Service into a Camel Jetty Rest component for 
> Basic auth.
> 
> However i would take any production ready example with a working authorized 
> rest component even without jaas.
> 
> BR,
> Matthias

Reply via email to