From: vlsi (@vlsi) <noreply+vlsi@github.com>
To: pgjdbc/pgjdbc <noreply+pgjdbc-pgjdbc@github.com>
Subject: Re: [pgjdbc/pgjdbc] PR #4251: OAuth implementation
Date: Wed, 23 Sep 2026 06:43:34 +0000
Message-ID: <gh-pgjdbc-pgjdbc-4251-rc4079734677@github.com> (raw)
In-Reply-To: <gh-pgjdbc-pgjdbc-4251@github.com>
References: <gh-pgjdbc-pgjdbc-4251@github.com>
(on docs/content/documentation/use.md:541)
"`requireAuth=gss` is met by `gssEncMode=require` alone" holds only when the server asks for nothing after GSS encryption. If `pg_hba.conf` then asks for a password, `requireAuth=gss` refuses the connection. It also holds for `gssEncMode=prefer`. The next sentence denies the pre-fix behavior, which belongs in the changelog. Suggested: "The connection fails if the server completes authentication without requesting any, as with a `trust` rule, unless `requireAuth` allows `none`. On a GSS-encrypted connection, `gss` is accepted in that case as well."