Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGLqF-0004yY-Iu for pgsql-jdbc@arkaria.postgresql.org; Thu, 10 Sep 2020 12:38:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kGLqE-00055l-As for pgsql-jdbc@arkaria.postgresql.org; Thu, 10 Sep 2020 12:38:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGLqE-00055b-2e for pgsql-jdbc@lists.postgresql.org; Thu, 10 Sep 2020 12:38:18 +0000 Received: from out-24.smtp.github.com ([192.30.252.207]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGLq9-0002sw-LV for pgsql-jdbc@lists.postgresql.org; Thu, 10 Sep 2020 12:38:15 +0000 Received: from github-lowworker-fb56993.ac4-iad.github.net (github-lowworker-fb56993.ac4-iad.github.net [10.52.19.31]) by smtp.github.com (Postfix) with ESMTP id 631746000A5 for ; Thu, 10 Sep 2020 05:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1599741491; bh=zzktFFckq6TmfVEa69qGwxJbQ3gwC6yky5UTXIH9QY8=; h=Date:From:To:Subject:From; b=n05GDemgJlsY3YF3bzBPmF84iLH04jwqpOTGpy5ScCd6ua9XK4T5GOiaDh7lYD84O 6kvPVifLLPhK/3Fdf42r+BPRA2l9dAy+m3Cp3fn5SwY7ty3Z4bWhGm4KX3sPbK6kzW Cs3ur7GhwWRS00Kx24RnnAa9K33RXFK2wkh4z4BM= Date: Thu, 10 Sep 2020 05:38:11 -0700 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 705b66: Check for credential cache before requesting GSS e... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 705b660a11a975be958ed81ce2e2c2a8e48aaede https://github.com/pgjdbc/pgjdbc/commit/705b660a11a975be958ed81ce2e2c2a8e48aaede Author: Dave Cramer Date: 2020-09-10 (Thu, 10 Sep 2020) Changed paths: M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java Log Message: ----------- Check for credential cache before requesting GSS encryption (#1883) * Check for credential cache before requesting GSS encryption * use Credentials.acquireTGTFromCache to get Credential Cache * suppress null check for acquireTGTFromCache 2nd attempt