From: Sehrope Sarkuni <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] bf04e3: refactor: Use multi-catch for exceptions in Connec...
Date: Tue, 28 Dec 2021 13:26:04 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/922d4f-473091@github.com> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: bf04e3d2f6cba980e19df38eda9118a7d2cedd93
https://github.com/pgjdbc/pgjdbc/commit/bf04e3d2f6cba980e19df38eda9118a7d2cedd93
Author: Sehrope Sarkuni <sehrope@jackdb.com>
Date: 2021-12-28 (Tue, 28 Dec 2021)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java
Log Message:
-----------
refactor: Use multi-catch for exceptions in ConnectionFactoryImpl
Commit: f7ca45ab9ea4a432b562c5d3d8f221afc6fb939b
https://github.com/pgjdbc/pgjdbc/commit/f7ca45ab9ea4a432b562c5d3d8f221afc6fb939b
Author: Sehrope Sarkuni <sehrope@jackdb.com>
Date: 2021-12-28 (Tue, 28 Dec 2021)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/Driver.java
M pgjdbc/src/main/java/org/postgresql/core/ConnectionFactory.java
M pgjdbc/src/main/java/org/postgresql/core/QueryExecutorBase.java
M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java
M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
Log Message:
-----------
refactor: Change internal constructors to pass only connection Properties
Changes internal constructors for PgConnection and related classes to only accept the
connection properties object and remove the user and password arguments. Any locations
that required those fields can retrieve them from the properties map.
Commit: e5fb0ea32f5a7c308a0cd14bce7d1ca967e7cea0
https://github.com/pgjdbc/pgjdbc/commit/e5fb0ea32f5a7c308a0cd14bce7d1ca967e7cea0
Author: Sehrope Sarkuni <sehrope@jackdb.com>
Date: 2021-12-28 (Tue, 28 Dec 2021)
Changed paths:
M pgjdbc/src/test/java/org/postgresql/test/TestUtil.java
Log Message:
-----------
test: Add TestUtil.assumeHaveMinimumServerVersion(...) helper
Commit: 473091ad3d60e1cd223b25727fe76d18f3b47f4e
https://github.com/pgjdbc/pgjdbc/commit/473091ad3d60e1cd223b25727fe76d18f3b47f4e
Author: Sehrope Sarkuni <sehrope@jackdb.com>
Date: 2021-12-28 (Tue, 28 Dec 2021)
Changed paths:
M README.md
M docs/documentation/head/connect.md
M pgjdbc/src/main/java/org/postgresql/PGProperty.java
A pgjdbc/src/main/java/org/postgresql/core/AuthenticationPluginManager.java
M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java
M pgjdbc/src/main/java/org/postgresql/ds/common/BaseDataSource.java
A pgjdbc/src/main/java/org/postgresql/plugin/AuthenticationPlugin.java
A pgjdbc/src/main/java/org/postgresql/plugin/AuthenticationRequestType.java
A pgjdbc/src/test/java/org/postgresql/test/plugin/AuthenticationPluginTest.java
A pgjdbc/src/test/java/org/postgresql/test/plugin/PluginTestSuite.java
Log Message:
-----------
feat: Add authenticationPluginClassName option to provide passwords at runtime
Adds authenticationPluginClassName connection property that allows end users to specify a class
that will provide the connection passwords at runtime. This allows configuring a connection with
a password that must be generated on the fly or periodically changes.
Custom implementations have access to the full connection properties and the type of authentication
that is being requested by the server, e.g. MD5 or SCRAM.
Compare: https://github.com/pgjdbc/pgjdbc/compare/922d4f11b258...473091ad3d60
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: noreply@github.com
Subject: Re: [pgjdbc/pgjdbc] bf04e3: refactor: Use multi-catch for exceptions in Connec...
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/922d4f-473091@github.com>
References: <pgjdbc/pgjdbc/push/refs/heads/master/922d4f-473091@github.com>
* 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