Re: A solution to the SSL customizing problem

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: A solution to the SSL customizing problem
Дата
Msg-id 4170289B.6060108@opencloud.com
обсуждение исходный текст
Ответ на Re: A solution to the SSL customizing problem  (Ulrich Meis <kenobi@halifax.rwth-aachen.de>)
Ответы Re: A solution to the SSL customizing problem  (Ulrich Meis <kenobi@halifax.rwth-aachen.de>)
Список 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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: copy to stdout/copy from stdin
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: A solution to the SSL customizing problem