Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Thu, 29 Jun 2023 14:09:43 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #2923: un-deprecate SSL_FACTORY_ARG In-Reply-To: References: List-Id: X-GitHub-Author-Login: vlsi X-GitHub-Comment-Id: 1613251249 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 2923 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/2923#issuecomment-1613251249 Content-Type: text/plain; charset=utf-8 Yet another possibility is to allow clients to pass `SockerFactory` instances via `sslfactory`, so the code could be ```java PGProperty.SSL_FACTORY.set(properties, new SingleCertValidatingFactory("...")); ``` Of course, Java's `Properties` discourage passing non-string values, however, it seems to fit here.