Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A7B989FB732 for ; Tue, 19 Jun 2007 13:52:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 39263-05 for ; Tue, 19 Jun 2007 13:52:20 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 51DD39FB5EC for ; Tue, 19 Jun 2007 13:52:20 -0300 (ADT) Received: (qmail 16325 invoked by uid 1112); 19 Jun 2007 16:52:18 -0000 Date: Tue, 19 Jun 2007 12:52:18 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Albe Laurenz cc: pgsql-jdbc@postgresql.org Subject: Re: SSL support for javax.sql.DataSource In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/64 X-Sequence-Number: 17126 On Mon, 18 Jun 2007, Albe Laurenz wrote: > Wouldn't it be a good thing to have SSL support for DataSource > connections? Sure would, we'd like to support all the options available in a URL in the DataSource. > It shouldn't be too hard; attached is a patch (against 8.3dev-600) > that shows what I mean. It is probably unclean to hard code the > NonValidatingFactory... > Especially since it changes the default behavior of the driver to not validate. If you'd like to change the default, that discussion should happen elsewhere and should affect all the connection methods. Why not just export the sslfactory option to the DataSource as well? Kris Jurka