Re: A solution to the SSL customizing problem - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: A solution to the SSL customizing problem
Date
Msg-id 416DCBCB.5010908@opencloud.com
Whole thread Raw
In response to Re: A solution to the SSL customizing problem  (Ulrich Meis <kenobi@halifax.rwth-aachen.de>)
Responses Re: A solution to the SSL customizing problem
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Ulrich Meis
Date:
Subject: Re: A solution to the SSL customizing problem
Next
From: Kris Jurka
Date:
Subject: Re: FW: Question about the postgres resultset implementation