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: Tue, 12 Oct 2004 15:57:36 +1300
Message-ID: <416B4820.8040601@opencloud.com> (raw)
In-Reply-To: <200410120432.20158.kenobi@halifax.rwth-aachen.de>
References: <200410111752.33375.kenobi@halifax.rwth-aachen.de>
<416AF41F.3080405@opencloud.com>
<200410120432.20158.kenobi@halifax.rwth-aachen.de>
Ulrich Meis wrote:
> On Monday 11 October 2004 22:59, you wrote:
>
>>Ulrich Meis wrote:
>>
>>>I propose a different solution. [...]
>>
>>This seems like a subset of the other solutions suggested. If you can
>>configure the SSLSocketFactory used, you can use a class just like the
>>one you provided without requiring that everyone uses it.
>
>
> Viewpoint one: configurability.
>
> I agree, someone could write that same class. [...]
We could provide such a helper class that implements some policy along
the lines of what your patch implements as a convenience to users, but I
don't think that behaviour should be hardwired into the driver. It's not
the place of the driver to make that sort of policy decision. It needs
to be configurable, and the obvious place to do the configuration is to
allow the user to provide their own SSLSocketFactory level, since that
gives you complete freedom to customize whichever bits of the SSL
handshake you want to.
So I suggest you look at solving the "how do I give the driver an
appropriate SSLSocketFactory" problem first. Once that is solved, the
particular configurable behaviour you want can be easily implemented.
-O
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: <416B4820.8040601@opencloud.com>
References: <200410111752.33375.kenobi@halifax.rwth-aachen.de> <416AF41F.3080405@opencloud.com> <200410120432.20158.kenobi@halifax.rwth-aachen.de> <416B4820.8040601@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