On Mon, Feb 11, 2013 at 6:17 PM, herder <niklas.her...@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: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to