Customizing SSL with jdbc

From: chinmoy <chinmoy(at)avaya(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Customizing SSL with jdbc
Date: 2004-09-07 18:57:04
Message-ID: 413E0480.8010306@avaya.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi
I am using the jdbc driver for postgresql 7.4.5. I would like it to
use a custom SSLSocketFactory. It seems like the Driver uses the
javax.net.ssl.SSLSocketFactory.getDefault() method to create a socket
factory. Other than compiling the Driver with a different class, is
there any other way of doing this? For eg would it be worthwhile to
provide a method in the org.postgresql.Driver class that lets one set
the class that would then be aksed in the makeSSL method to create the
SSLSocketFactory instance.?
Chinmoy

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nanu Ram 2004-09-08 00:50:22 please help - schema in jdbc connection string
Previous Message Tom Lane 2004-09-07 18:03:16 Re: ERROR: canceling query due to user request