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 416F5FE2.1040402@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
Re: A solution to the SSL customizing problem
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Ulrich Meis
Date:
Subject: Re: A solution to the SSL customizing problem
Next
From: Markus Schaber
Date:
Subject: Re: A solution to the SSL customizing problem