Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xw81N-0002p6-HV for pgsql-jdbc@arkaria.postgresql.org; Wed, 03 Dec 2014 11:23:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xw81M-0002Ex-Vr for pgsql-jdbc@arkaria.postgresql.org; Wed, 03 Dec 2014 11:23:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xw81L-0002DD-TD for pgsql-jdbc@postgresql.org; Wed, 03 Dec 2014 11:22:59 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xw81H-0005Sq-Nb for pgsql-jdbc@postgresql.org; Wed, 03 Dec 2014 11:22:58 +0000 Received: from ayaki.localdomain (124-169-108-102.dyn.iinet.net.au [124.169.108.102]) by mrelayeu.kundenserver.de (node=mreue102) with ESMTP (Nemesis) id 0MWRtC-1XOSxN0rVa-00XfVv; Wed, 03 Dec 2014 12:22:37 +0100 Message-ID: <547EF276.3060805@2ndquadrant.com> Date: Wed, 03 Dec 2014 19:22:30 +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: dave.rosckes@gmail.com CC: Dave Cramer , PgJDBC Subject: Re: Fwd: [GENERAL] Trying to get SSPI/JDBC working References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:qEzb47O9DW8cRMW6EHJ2I6SfF9hSxouyZ8ND3ffeMxd xpo/Vnz/+aNsuFBzRPI5ktfccj4Xo4Km0eEmxWn4/YclibOpRt njatrv94sNbWFCnTm0vjGQqSEHzX8ENwQUkRGA537WcquRQsz2 glMcZpLIm2QzapZpRKd0qXSWFmAQVgfUBu7fzJ4+qdKQ0i0D0W d7is91JgD3lT7hEs/o/Qeue6dnO+yFt6quWip4jlYUaq2/Rjqn VVab8Ez1jGNtKT1TGUAdjK7rEkfKonh34W+wVoplMWCkcLEtKx 6+R0pnxA8ScvWDudbOzj8wnYEYBeb5hQbPEOZ9ueMN2Ki91GcE 8ive8kk+HEIxhhYqQmVJlOu3tIbz3PaGd9SyJxof0 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 > JDBC connection url: > "jdbc:postgresql://localhost/postgresDB?integratedSecurity=true" I don't know where you got "integratedSecurity=true". The only reference I can find to that is in Microsoft's documentation for MS SQL server. There is no such parameter in PgJDBC, nor in core PotsgreSQL. Until very recently (i.e. last week) PgJDBC did not support SSPI natively. It was potentially possible to use it via direct access to the Kerberos ticket, but it required lots of setup and was generally painful and impractical. I implemented SSPI support for PgJDBC a few weeks ago, and merged it into the core driver this week. If you download the latest git tree of PgJDBC and compile it, you will be able to use SSPI. No additional parameters should be required. There is not yet a binary release of the driver with SSPI support, but it's pretty easy to compile PgJDBC if you've used git before. Just clone the repository from https://github.com/pgjdbc/pgjdbc and then "ant -lib lib all" in the source tree. You can also "ant -lib lib dist" if you want to make a distribution zip file. See the README shown at the bottom of https://github.com/pgjdbc/pgjdbc for more details. -- 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