[ 
https://issues.apache.org/activemq/browse/CAMEL-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48430#action_48430
 ] 

Willem Jiang commented on CAMEL-1214:
-------------------------------------

I just did a quick fix for the basic authentication of camel-http.
Now you can use "username" and "password" as the parameter name to set the 
basic authentication for camel-http producer.

camel-http also provides a  plugable strategy (HttpClientConfigurer) for 
configuring the HttpClient, you can create your own HttpClientConfigurer to set 
the authentication for the httpclient.

TODO update the wiki page of it.

> http producer should support authentication out of box 
> -------------------------------------------------------
>
>                 Key: CAMEL-1214
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1214
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-http
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0
>
>
> Since HttpClient provides the authentication[1] support , it should be easy 
> to support it in camel-http component.
> Here a mail thread[2] which is discussing it.
> [1] http://hc.apache.org/httpclient-3.x/authentication.html
> [2] 
> http://www.nabble.com/Does-HTTP-Component-support-basic-authentication--tt21259555s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to