Re: Customizing SSL with jdbc - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Customizing SSL with jdbc
Date
Msg-id Pine.BSO.4.56.0409151722100.5001@leary.csoft.net
Whole thread Raw
In response to Re: Customizing SSL with jdbc  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: Customizing SSL with jdbc  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc

On Thu, 16 Sep 2004, Oliver Jowett wrote:

> I'm not sure how that extra level of indirection gives you anything.
> Haven't you just gone from "how do I configure my new SSLSocketFactory
> instance without context?" to "how do I configure my new
> SSLSocketFactoryFactory instance without context?" ?

The class itself is the context. That is, if you need to say have a number
of keystore locations each one gets its own wrapper factory class.  Its
definitely ugly, but so is programmatically setting things on the
org.postgresql.Driver class.  That approach also requires you getting in
there to touch the Driver class before a connection is established, which
is unclear to me how to accomplish in an application server environment
where a pool is setup for you.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
Next
From: Oliver Jowett
Date:
Subject: Re: Customizing SSL with jdbc