Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 80214 invoked from network); 9 Feb 2011 10:50:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2011 10:50:24 -0000 Received: (qmail 61101 invoked by uid 500); 9 Feb 2011 10:50:24 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 60679 invoked by uid 500); 9 Feb 2011 10:50:22 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 60671 invoked by uid 99); 9 Feb 2011 10:50:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 10:50:20 +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; Wed, 09 Feb 2011 10:50:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 824D119BB73 for ; Wed, 9 Feb 2011 10:49:57 +0000 (UTC) Date: Wed, 9 Feb 2011 10:49:57 +0000 (UTC) From: "Gaurav Singhal (JIRA)" To: dev@hc.apache.org Message-ID: <2146581494.4824.1297248597530.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (HTTPCLIENT-1056) Wrong creation of AuthScope object 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 Wrong creation of AuthScope object ---------------------------------- Key: HTTPCLIENT-1056 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1056 Project: HttpComponents HttpClient Issue Type: Bug Components: HttpClient Affects Versions: 4.1 Final Reporter: Gaurav Singhal Class Name: org.apache.http.client.protocol.RequestAuthCache Line #: 118-119 Issue: Want to create a new Object of AuthScope by passing host name, port and scheme name but due to incorrect constructor call, Getting a object with realm name as scheme name. Current Code: Credentials creds = credsProvider.getCredentials(new AuthScope(host.getHostName(), host.getPort(), null, schemeName)); -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org