pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Kris Jurka <books@ejurka.com>
Cc: Marc-André Laverdière <marc-andre@atc.tcs.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Support for cert auth in JDBC
Date: Thu, 19 May 2011 13:46:57 +0800
Message-ID: <4DD4AED1.2080008@postnewspapers.com.au> (raw)
In-Reply-To: <alpine.BSO.2.00.1105181130380.13086@leary.csoft.net>
References: <4DD34FE5.3020609@atc.tcs.com>
	<4DD35BEA.3020902@postnewspapers.com.au>
	<4DD361CA.3070907@atc.tcs.com>
	<4DD36EFC.6070707@postnewspapers.com.au>
	<4DD379C5.1030703@atc.tcs.com>
	<4DD3C751.5080908@postnewspapers.com.au>
	<alpine.BSO.2.00.1105181130380.13086@leary.csoft.net>

On 05/18/2011 11:32 PM, Kris Jurka wrote:
>
>
> On Wed, 18 May 2011, Craig Ringer wrote:
>
>> Alas the SSLSocketFactory interface doesn't offer any really nice
>> options like a way to pass a Properties instance to the ctor,
>
> That'd be an easy thing to fix, just add another case to
> org.postgresql.ssl.MakeSSL#convert to pass through the provided
> Properties object. I've thought about that in the past, but with no real
> use case, I wasn't in a big rush to do so.

OK, good to know.

It wasn't a big issue for me in the end, as I landed up fetching my 
configuration using the String argument form as a key to an 
application-specific configuration provider. It's much easier to pass a 
String argument through various layers one often has over the JDBC 
driver, like an ORM or the like.

--
Craig Ringer



view thread (28+ messages)  latest in thread

Message-ID: <4DD4AED1.2080008@postnewspapers.com.au>
Permalink:  ../4DD4AED1.2080008@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4DD4AED1.2080008@postnewspapers.com.au

 · 

reply

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: craig@postnewspapers.com.au, books@ejurka.com, marc-andre@atc.tcs.com
  Subject: Re: Support for cert auth in JDBC
  In-Reply-To: <4DD4AED1.2080008@postnewspapers.com.au>
  References: <4DD34FE5.3020609@atc.tcs.com> <4DD35BEA.3020902@postnewspapers.com.au> <4DD361CA.3070907@atc.tcs.com> <4DD36EFC.6070707@postnewspapers.com.au> <4DD379C5.1030703@atc.tcs.com> <4DD3C751.5080908@postnewspapers.com.au> <alpine.BSO.2.00.1105181130380.13086@leary.csoft.net> <4DD4AED1.2080008@postnewspapers.com.au>

* 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