Re: A solution to the SSL customizing problem

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

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);

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

-O

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2004-10-15 19:49:06 Re: A solution to the SSL customizing problem
Previous Message Kris Jurka 2004-10-15 16:01:02 Re: copy to stdout/copy from stdin