pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Ulrich Meis <kenobi@halifax.rwth-aachen.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: A solution to the SSL customizing problem
Date: Fri, 15 Oct 2004 16:35:01 +1300
Message-ID: <416F4565.3040207@opencloud.com> (raw)
In-Reply-To: <200410150504.30514.kenobi@halifax.rwth-aachen.de>
References: <200410111752.33375.kenobi@halifax.rwth-aachen.de>
	<200410140224.56728.kenobi@halifax.rwth-aachen.de>
	<416DCBCB.5010908@opencloud.com>
	<200410150504.30514.kenobi@halifax.rwth-aachen.de>

Ulrich Meis wrote:
> On Thursday 14 October 2004 02:43, Oliver Jowett wrote:
> 
>>...
>>Otherwise it looks fine. I wouldn't worry about the DataSource piece for
>>the moment.. if you have the ability to pass args to the constructed
>>class via a URL or properties file it is less of an issue.
> 
> 
> How does that look like?
> Since I found the same code in v2 and v3, I copied the new method as well.

getSSLSocketFactory() doesn't need to be duplicated. Just pass the 
connection properties to makeSSL and construct the factory from there.

Use of SSL-specific code needs to be conditionally compiled or the 
driver will not build if JSSE is not present. This is easy to do if you 
move getSSLSocketFactory() into Driver.java.in.

This doesn't look right, what is '&urlServer&'?

> +         Object[] args = { info.getProperty("&urlServer&"), info.getProperty("sslfactoryargs") };

Otherwise, seems ok.

-O



view thread (31+ messages)  latest in thread

Message-ID: <416F4565.3040207@opencloud.com>
Permalink:  ../416F4565.3040207@opencloud.com/
Also on:    postgresql.org/message-id/416F4565.3040207@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, kenobi@halifax.rwth-aachen.de
  Subject: Re: A solution to the SSL customizing problem
  In-Reply-To: <416F4565.3040207@opencloud.com>
  References: <200410111752.33375.kenobi@halifax.rwth-aachen.de> <200410140224.56728.kenobi@halifax.rwth-aachen.de> <416DCBCB.5010908@opencloud.com> <200410150504.30514.kenobi@halifax.rwth-aachen.de> <416F4565.3040207@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox