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

From Chris Smith
Subject PATH: SSL flexibility and documentation
Date
Msg-id 02c401c3f659$217f9f00$6f00000a@KYA
Whole thread Raw
Responses Re: PATH: SSL flexibility and documentation
List pgsql-jdbc
[Sorry, resending -- I first sent this from the wrong email account, and I
think it got swallowed somewhere because that address is not subscribed to the
list.]

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

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Attachment

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: test
Next
From: Kris Jurka
Date:
Subject: Re: PATH: SSL flexibility and documentation