| From: | Sehrope Sarkuni <noreply(at)github(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)lists(dot)postgresql(dot)org |
| Subject: | [pgjdbc/pgjdbc] bf04e3: refactor: Use multi-catch for exceptions in Connec... |
| Date: | 2021-12-28 21:26:04 |
| Message-ID: | pgjdbc/pgjdbc/push/refs/heads/master/922d4f-473091@github.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: bf04e3d2f6cba980e19df38eda9118a7d2cedd93
https://github.com/pgjdbc/pgjdbc/commit/bf04e3d2f6cba980e19df38eda9118a7d2cedd93
Author: Sehrope Sarkuni <sehrope(at)jackdb(dot)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(at)jackdb(dot)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(at)jackdb(dot)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(at)jackdb(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Philippe Marschall | 2021-12-30 16:31:53 | [pgjdbc/pgjdbc] 1bb8f6: style: fix typos in pgobject javadoc (#2379) |
| Previous Message | Dave Cramer | 2021-12-28 13:39:56 | [pgjdbc/pgjdbc] 922d4f: fix: do not close refcursor after reading if fetch... |