Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 7183A632E54 for ; Wed, 1 Jul 2009 20:40:08 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 73718-04 for ; Wed, 1 Jul 2009 20:39:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail.postgresql.org (Postfix) with ESMTP id EFF396328A6 for ; Wed, 1 Jul 2009 20:40:04 -0300 (ADT) Received: by leary.csoft.net (Postfix, from userid 1112) id C8942A2C2; Wed, 1 Jul 2009 19:40:02 -0400 (EDT) Date: Wed, 1 Jul 2009 19:40:02 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "JUNG, Christian" cc: pgsql-jdbc@postgresql.org Subject: Re: GSS authentication support In-Reply-To: <24BB5F92CE3E62419C5A6D5B1A1E0F46028E1AAD@nts58.saarstahl.de> Message-ID: References: <24BB5F92CE3E62419C5A6D5B1A1E0F46028E1AAD@nts58.saarstahl.de> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.026 tagged_above=0 required=5 tests=AWL=0.026 X-Spam-Level: X-Archive-Number: 200907/2 X-Sequence-Number: 19770 On Wed, 1 Jul 2009, JUNG, Christian wrote: > I've implemented GSS authentication support for the PostgreSQL JDBC > driver version 8.3-604. I haven't looked at the patch in detail, but GSS support was added to the just released 8.4 driver. That support was based upon JAAS which is an additional configuration pain, but your approach of importing com.sun.security.auth.module.Krb5LoginModule isn't portable. There's some limited documentation here on the current code: http://archives.postgresql.org/pgsql-jdbc/2008-01/msg00154.php http://jdbc.postgresql.org/documentation/84/connect.html#connection-parameters Does it work for your needs? Do you know any way to auto-configure this without importing Sun specific code? Regardless of any code changes your documentation updates certainly seem like a welcome addition. Kris Jurka