Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xc4aX-0000FN-Bv for pgsql-jdbc@arkaria.postgresql.org; Thu, 09 Oct 2014 03:40:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xc4aW-0007lH-SL for pgsql-jdbc@arkaria.postgresql.org; Thu, 09 Oct 2014 03:40:24 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xc4aW-0007lB-7r for pgsql-jdbc@postgresql.org; Thu, 09 Oct 2014 03:40:24 +0000 Received: from mout.kundenserver.de ([212.227.17.24]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xc4aS-00039O-Mc for pgsql-jdbc@postgresql.org; Thu, 09 Oct 2014 03:40:22 +0000 Received: from ayaki.localdomain (pjobri.lnk.telstra.net [110.143.218.179]) by mrelayeu.kundenserver.de (node=mreue101) with ESMTP (Nemesis) id 0LZvrB-1Y41sK0T9B-00loOo; Thu, 09 Oct 2014 05:40:18 +0200 Message-ID: <5436039C.7090309@2ndquadrant.com> Date: Thu, 09 Oct 2014 11:40:12 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: PG-JDBC Mailing List Subject: Preliminary support for SSPI authentication on Windows Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:VpZp9kengnK04lBl1HXB3UTwPDO0YjUIuMJuQ2tNBWR HgUVcgtMJ3mnu4HfetQxwkBYe9zBXfDNYGgwYXxhKGIX//9Y5L 29ID15LoZSjg/G8WQY4AJCT/pXWUy9J6PuTvbuy7uxnpcguswX MgEdQNi8LoP3TbeV743Qn5m1uyFAYSM039fhFKVb9mnOtFFvpt wmUnRxCfWz0pkv34AKq45JKphQkUgYXX6qQ1sOTNyndRO7ihCb m9va+qDIhBIp3yd4nHqAGZdc5vSH/bCcG3Wx6zPKTBsu0PJv4z 8wr+UwQEXk9LSaN13eH366wtg/b1L2owWvVcF3rDcvAlOdvxGB TKLSXP5gtoV3PmVL6tunsj79jEpV1OS/aWChjvSMN X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Hi all I've implemented PgJDBC SSPI support for Windows clients for a customer and would like to merge it into PgJDBC. I now have a PgJDBC patch that permits passwordless, secure single-sign-on from a JVM running on a Windows client to a PostgreSQL server running on a Windows server that has domain-trust for the client. Under the hood Windows does it with Kerberos (for networked domain authentication) or NTLM (for loopback on standalone hosts) but we don't have to care. We just broker the SSPI messaging between client and server until the servers confirms successful authentication. I've written it up a bit in https://github.com/pgjdbc/pgjdbc/issues/202 . There's some cleanup work to do before merging though, and I'd appreciate a few comments. I've added details to the github issue, mainly around dependency fetching/management and backward compatibility. Your input would be welcomed. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc