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: Basic auth with Atom component not working?
Date Tue, 12 Feb 2013 07:18:03 GMT
On Mon, Feb 11, 2013 at 6:17 PM, herder <niklas.herder@gmail.com> wrote:
> Hi,
>
> I'm trying to consume an Atom feed from a URL which is protected by Basic
> authorization.
> When I use the http component on the URL, everything works fine, but when I
> add the atom:// before it, as per the documentation, it doesn't authenticate
> at all.
>
> I tried both with URL params and by configuring the HttpClientConfigurer,
> like this:
>
>                 HttpComponent httpComponent = (HttpComponent)
> getContext().getComponent("http");
>                 httpComponent.setHttpClientConfigurer(new
> BasicAuthenticationHttpClientConfigurer(false, "myuser", "mypassw"));
>
> Am I missing something here? Isn't the Atom component able to consume
> protected feeds?
>

I don't think so. I think its only plain http supported.



>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Basic-auth-with-Atom-component-not-working-tp5727360.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message