Re: A solution to the SSL customizing problem

From: Ulrich Meis <kenobi(at)halifax(dot)rwth-aachen(dot)de>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: A solution to the SSL customizing problem
Date: 2004-10-16 02:41:29
Message-ID: 200410160441.29561.kenobi@halifax.rwth-aachen.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Friday 15 October 2004 21:44, Oliver Jowett wrote:
> Ulrich Meis wrote:
> > The attached changes provide as first parameter "hostname:port" to the
> > factory as given in the Properties object, so I removed the &urlServer&
> > thing.
>
> The host and port are already given to the SSLSocketFactory when the
>
> socket is created:
> > @SSL@ java.net.Socket newConnection =
> > factory.createSocket(p_stream.getSocket(), p_stream.getHost(),
> > p_stream.getPort(), true);

Right! I forgot.

>
> Why do we need to also pass them separately to the factory's ctor?

We don't ;-)

I removed that.

See next try attached ;-)

Uli

Attachment Content-Type Size
pgjdbc-custom-ssl4.txt text/plain 6.7 KB

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jair da Silva Ferreira Jr 2004-10-16 14:18:40 Re: problem with dates when using a java calendar object with
Previous Message Dave Cramer 2004-10-15 22:13:43 Re: problem with dates when using a java calendar object with