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: Thu, 14 Oct 2004 13:43:55 +1300
Message-ID: <416DCBCB.5010908@opencloud.com> (raw)
In-Reply-To: <200410140224.56728.kenobi@halifax.rwth-aachen.de>
References: <200410111752.33375.kenobi@halifax.rwth-aachen.de>
	<200410140224.56728.kenobi@halifax.rwth-aachen.de>

Ulrich Meis wrote:

> 3. a new abstract class
> 
> abstract PGSSLHandler extends SSLSocketFactory {
> 
> public void setPGURL(String url_no_parameters);
> public void setPGargs(String args);
> 
> }

You don't need this class. Just require that the named factory class 
implements SSLSocketFactory and has a ctor that takes two Strings.

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.

-O



view thread (31+ messages)  latest in thread

Message-ID: <416DCBCB.5010908@opencloud.com>
Permalink:  ../416DCBCB.5010908@opencloud.com/
Also on:    postgresql.org/message-id/416DCBCB.5010908@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: <416DCBCB.5010908@opencloud.com>
  References: <200410111752.33375.kenobi@halifax.rwth-aachen.de> <200410140224.56728.kenobi@halifax.rwth-aachen.de> <416DCBCB.5010908@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