camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: http component with authentication
Date Mon, 06 Jul 2009 11:58:08 GMT
Hi

Thanks for report back with your findings and solution.

I have added a section to the camel http component about this.


On Mon, Jul 6, 2009 at 1:42 PM, SwenVogel<swen.vogel@ypsystems.de> wrote:
>
> Hi,
>
> im using Camel 2.0-M2 Release version and hava found the solution.
> Authentication works fine with the username and password URI options,
> but the problem was that the server doesent send a:
>
> 401 Authorization Required
>
> So the solution was to set the following URI option:
>
> httpClient.authenticationPreemptive=true
>
> --
> View this message in context: http://www.nabble.com/http-component-with-authentication-tp24290117p24353979.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message