Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 316316A6F for ; Thu, 9 Jun 2011 08:52:22 +0000 (UTC) Received: (qmail 29167 invoked by uid 500); 9 Jun 2011 08:52:22 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 29135 invoked by uid 500); 9 Jun 2011 08:52:22 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 29126 invoked by uid 99); 9 Jun 2011 08:52:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 08:52:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 08:52:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E9E5910A05C for ; Thu, 9 Jun 2011 08:51:58 +0000 (UTC) Date: Thu, 9 Jun 2011 08:51:58 +0000 (UTC) From: "Willem Jiang (JIRA)" To: dev@camel.apache.org Message-ID: <2099081342.6153.1307609518953.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1615213708.70248.1307312147331.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-4056) Support for preemptive basic authentication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046405#comment-13046405 ] Willem Jiang commented on CAMEL-4056: ------------------------------------- @Richard, Yeah, you need to the same thing in camel-http4. BTW Don't forget to update the wiki page of http and http4. > Support for preemptive basic authentication > ------------------------------------------- > > Key: CAMEL-4056 > URL: https://issues.apache.org/jira/browse/CAMEL-4056 > Project: Camel > Issue Type: Improvement > Components: camel-http > Affects Versions: 2.7.2 > Reporter: Richard Kettelerij > Assignee: Richard Kettelerij > Fix For: 2.8.0 > > > Currently Camel only sends credentials when a server explicitly prompts for basic authentication. However there're cases where a URL is available to both authenticated as well as unauthenticated parties. In that case the {{camel-http}} component won't sent any credentials to the server, even though the credentials are explicitly provided in the URI or Exchange. > This can be solved by enabling preemptive authentication in Apache HttpClient. In that case the credentials will always be provided whether the server asks for it or not. Enabling this provides a sensible default. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira