Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 81776 invoked from network); 10 Feb 2006 00:40:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Feb 2006 00:40:13 -0000 Received: (qmail 96021 invoked by uid 500); 10 Feb 2006 00:40:12 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 95999 invoked by uid 500); 10 Feb 2006 00:40:11 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 95988 invoked by uid 99); 10 Feb 2006 00:40:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 16:40:11 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of juliusdavies@cucbc.com designates 64.114.5.49 as permitted sender) Received: from [64.114.5.49] (HELO c2kp01smtp.cucbc.com) (64.114.5.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 16:40:08 -0800 Received: from c2kp01mail.cucbc.com ([172.17.68.166]) by c2kp01smtp.cucbc.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 9 Feb 2006 16:38:32 -0800 Received: c2kp01mail.cucbc.com 172.17.68.166 from 172.17.56.57 172.17.56.57 via HTTP with MS-WebStorage 6.0.6249 Received: from haplo by c2kp01mail.cucbc.com; 09 Feb 2006 16:39:55 -0800 Subject: Re: Using SSL: how to resolve deprecated methods From: Julius Davies To: HttpClient User Discussion Cc: "gioacchinomauri@libero.it" In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: CUCBC Date: Thu, 09 Feb 2006 16:39:55 -0800 Message-Id: <1139531995.23515.178.camel@apple.ca> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 X-OriginalArrivalTime: 10 Feb 2006 00:38:32.0750 (UTC) FILETIME=[51F0E4E0:01C62DDA] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Gioacchino, Fixing those deprecations would break EasySSLProtocolSocketFactory for deployments using jsse.jar instead of Java 1.4 (or greater). But since you asked, here are copies of the java files that don't produce the warnings: http://juliusdavies.ca/httpclient-contrib/ In particular: http://juliusdavies.ca/httpclient-contrib/org/apache/commons/httpclient/contrib/ssl/EasySSLProtocolSocketFactory.java http://juliusdavies.ca/httpclient-contrib/org/apache/commons/httpclient/contrib/ssl/EasyX509TrustManager.java yours, Julius On Sun, 2006-05-02 at 16:57 +0100, gioacchinomauri@libero.it wrote: > Hi all, > I'm using HTTPClient to connect to a servlet through https using a self signed certificate generated by keytool. I've used your example code "EasySSLProtocolSocketFactory" and "EasyX509TrustManager" and it works but there are many lines of code that is using deprecated methods. > Is there anyone that can help me to found an updated version of these source files ? > > Thanks, > gioacchino mauri > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org > -- Julius Davies Senior Application Developer, Technology Services Credit Union Central of British Columbia http://www.cucbc.com/ Tel: 604-730-6385 Cel: 604-868-7571 Fax: 604-737-5910 1441 Creekside Drive Vancouver, BC Canada V6J 4S7 http://juliusdavies.ca/ --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org