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 18:28:02 +1300
Message-ID: <416F5FE2.1040402@opencloud.com> (raw)
In-Reply-To: <200410150648.03220.kenobi@halifax.rwth-aachen.de>
References: <200410111752.33375.kenobi@halifax.rwth-aachen.de>
<200410150504.30514.kenobi@halifax.rwth-aachen.de>
<416F4565.3040207@opencloud.com>
<200410150648.03220.kenobi@halifax.rwth-aachen.de>
Ulrich Meis wrote:
> On Friday 15 October 2004 05:35, Oliver Jowett wrote:
>>This doesn't look right, what is '&urlServer&'?
>>
>>>+ Object[] args = { info.getProperty("&urlServer&"),
>>>info.getProperty("sslfactoryargs") };
>
> In parseURL I added a line to set that property to the connection url string
> without parameters. It's the easiest way I am aware of to get the exact url
> down to makeSSL. Since parseURL simply splits parameters upon & and doesn't
> convert escaped &s, I used the &s to make absolutely sure that this property
> never clashes with a real url parameter - also that wouldn't actually matter.
> If nothing else, it makes it obvious that this is internal.
Ouch, that's a bit nasty.
Why exactly would a SSLSocketFactory implementation need to know the
original URL?
-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: <416F5FE2.1040402@opencloud.com>
References: <200410111752.33375.kenobi@halifax.rwth-aachen.de> <200410150504.30514.kenobi@halifax.rwth-aachen.de> <416F4565.3040207@opencloud.com> <200410150648.03220.kenobi@halifax.rwth-aachen.de> <416F5FE2.1040402@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