From: | Marc-André Laverdière <marc-andre(at)atc(dot)tcs(dot)com> |
---|---|
To: | Craig Ringer <craig(at)postnewspapers(dot)com(dot)au> |
Cc: | Kris Jurka <books(at)ejurka(dot)com>, pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Support for cert auth in JDBC |
Date: | 2011-05-19 06:14:13 |
Message-ID: | 4DD4B535.1050707@atc.tcs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Hi guys,
Here are some improvements based on the comments I saw so far.
I'm also adding a small cheapo tester. Definitely not JUnit-ready :)
Marc-André Laverdière
Software Security Scientist
Innovation Labs, Tata Consultancy Services
Hyderabad, India
On Thursday 19 May 2011 11:16 AM, Craig Ringer wrote:
> 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
Attachment | Content-Type | Size |
---|---|---|
PostgreSQLCertConnTester.java | text/x-java | 1.6 KB |
CertAuthFactory.java | text/x-java | 8.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Marc-André Laverdière | 2011-05-19 06:41:09 | Re: Support for cert auth in JDBC |
Previous Message | Craig Ringer | 2011-05-19 05:58:31 | Re: Support for cert auth in JDBC |