PATCH: SSL documentation and flexibility

From: "Chris Smith" <chris(at)mindiq(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: PATCH: SSL documentation and flexibility
Date: 2004-02-18 17:05:05
Message-ID: 019e01c3f641$5b5b19b0$6f00000a@KYA
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

The attached patch:

- Adds a section to the main driver README file regarding SSL.

- Adds and documents a Driver.setSSLSocketFactory, which can be
used to change the SSLSocketFactory (per my earlier response
when this came up.

Please check my use of @SSL@ in Driver.java.in. I wasn't sure whether we
consider it more important to ensure that Driver.java.in compiles against all
JDK versions, or to ensure that it has a consistent exposed interface in all
builds. I opted for the former, but the choice can be changed by removing
@SSL@ around the method declaration for setSSLSocketFactory. (Both could be
achieved at once with an ugly interface; if that's needed, I can resubmit that
way.)

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

Attachment Content-Type Size
pgjdbc-ssl.patch application/octet-stream 4.6 KB

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Chris Smith 2004-02-18 19:55:16 PATH: SSL flexibility and documentation
Previous Message Dave Cramer 2004-02-18 16:25:50 test