X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 609C332B4C9 for ; Thu, 14 Oct 2004 01:44:38 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89730-01 for ; Thu, 14 Oct 2004 00:44:21 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 75534329F39 for ; Thu, 14 Oct 2004 01:44:23 +0100 (BST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CHtip-0007di-00; Thu, 14 Oct 2004 13:43:59 +1300 Message-ID: <416DCBCB.5010908@opencloud.com> Date: Thu, 14 Oct 2004 13:43:55 +1300 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ulrich Meis Cc: pgsql-jdbc@postgresql.org Subject: Re: A solution to the SSL customizing problem References: <200410111752.33375.kenobi@halifax.rwth-aachen.de> <200410140224.56728.kenobi@halifax.rwth-aachen.de> In-Reply-To: <200410140224.56728.kenobi@halifax.rwth-aachen.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/132 X-Sequence-Number: 11237 Ulrich Meis wrote: > 3. a new abstract class > > abstract PGSSLHandler extends SSLSocketFactory { > > public void setPGURL(String url_no_parameters); > public void setPGargs(String args); > > } You don't need this class. Just require that the named factory class implements SSLSocketFactory and has a ctor that takes two Strings. Otherwise it looks fine. I wouldn't worry about the DataSource piece for the moment.. if you have the ability to pass args to the constructed class via a URL or properties file it is less of an issue. -O