Re: Support for cert auth in JDBC

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Marc-André Laverdière <marc-andre(at)atc(dot)tcs(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Support for cert auth in JDBC
Date: 2011-05-18 14:03:28
Message-ID: 4DD3D1B0.90602@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Oh, also, your code has a simple thinko or copy-n-paste bug. On line 79:

fInTrustStore = new FileInputStream(keyPath);

should read:

fInTrustStore = new FileInputStream(trustPath);

Currently, trustPath never escapes the method and is effectively unused;
it's only tested for null/empty, then ignored.

--
Craig Ringer

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2011-05-18 15:32:51 Re: Support for cert auth in JDBC
Previous Message Craig Ringer 2011-05-18 13:19:13 Re: Support for cert auth in JDBC