Return-Path: Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@www.apache.org Received: (qmail 53681 invoked from network); 10 Aug 2004 18:37:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Aug 2004 18:37:21 -0000 Received: (qmail 59112 invoked by uid 500); 10 Aug 2004 18:37:20 -0000 Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@jakarta.apache.org Received: (qmail 59050 invoked by uid 500); 10 Aug 2004 18:37:18 -0000 Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Commons HttpClient Project" Reply-To: "Commons HttpClient Project" Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 59036 invoked by uid 99); 10 Aug 2004 18:37:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.68.1.20] (HELO relay.pair.com) (209.68.1.20) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 10 Aug 2004 11:37:15 -0700 Received: (qmail 7953 invoked from network); 10 Aug 2004 18:37:10 -0000 Received: from unknown (HELO ?10.40.10.130?) (12.37.22.233) by relay.pair.com with SMTP; 10 Aug 2004 18:37:10 -0000 X-pair-Authenticated: 12.37.22.233 Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <497EB65A-EAFC-11D8-870F-000393DB52C6@octetstring.com> Content-Transfer-Encoding: 7bit Cc: Clayton Donley , Phil Hunt From: Marc Boorshtein Subject: Warnings in logs in regards to basic authentication.... Date: Tue, 10 Aug 2004 13:37:09 -0500 To: Commons HttpClient Project X-Mailer: Apple Mail (2.618) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N When using commons-httpclient-2.0-rc2.jar with preemptive authentication, I get the following warning in my logs: [2004-08-10 10:37:38,390] WARN - HttpMethodBase: No credentials available for the 'Server Administration Service' authentication realm at 127.0.0.1 [main] The application works fine, but I would like to eliminate this log. I am using the following code to set the credentials: this.con = new HttpClient(); this.con.getState().setAuthenticationPreemptive(true); . . . con.getState().setCredentials(null,null,new UsernamePasswordCredentials(binddn,password)); There is no security issue in this case with not specifying a realm. Thanks! ------------------------------------------------------------------------ -------------------------- Marc Boorshtein Sr. Software Engineer, Octet String marc.boorshtein@octetstring.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org