PATCH: SSL documentation and flexibility - Mailing list pgsql-jdbc

From Chris Smith
Subject PATCH: SSL documentation and flexibility
Date
Msg-id 019e01c3f641$5b5b19b0$6f00000a@KYA
Whole thread Raw
List 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

pgsql-jdbc by date:

Previous
From: "Michael Nonemacher"
Date:
Subject: JDBC statement batching in 7.4?
Next
From: "Waldomiro"
Date:
Subject: I forgot the "Begin" command, what should I do ?