Re: JDBC and GSSAPI/Krb5 - Mailing list pgsql-jdbc

From Peter Koczan
Subject Re: JDBC and GSSAPI/Krb5
Date
Msg-id 4544e0330712061147g1f7be06dn9e86a2c80f68ed35@mail.gmail.com
Whole thread Raw
In response to Re: JDBC and GSSAPI/Krb5  ("Henry B. Hotz" <hotz@jpl.nasa.gov>)
Responses Re: JDBC and GSSAPI/Krb5  ("Peter Koczan" <pjkoczan@gmail.com>)
Re: JDBC and GSSAPI/Krb5  ("Henry B. Hotz" <hotz@jpl.nasa.gov>)
List pgsql-jdbc
On Dec 6, 2007 1:10 PM, Henry B. Hotz <hotz@jpl.nasa.gov> wrote:
> Thank you.  I'm looking at it.
>
> I think the changes *should* be localized to v3/
> ConnectionFactoryImpl.java.  I need to see how Magnus changed the
> wire protocol (he did it differently from what I did), and I need to
> try a sample program first so I can debug wire/API issues
> independently from PG issues.
>
> I will not even attempt to address the SSPI auth mechanism since I
> don't understand fully why it exists.  SSPI is supposed to just be an
> alternate C binding for the GSSAPI wire protocol, but there are other
> issues that confound that statement.  I believe that Java should
> stick to the standard, at least initially.

http://people.planetpostgresql.org/mha/index.php?/archives/155-Integrated-Security-in-PostgreSQL-8.3.html

According to this, SSPI is a Windows-only thing (for both clients and
servers). Apparently each can authenticate against a "gss" entry in
pg_hba.conf.

I don't know what implications that has for support in the JDBC
driver. I'll let you figure that out :-).

Peter

pgsql-jdbc by date:

Previous
From: "Henry B. Hotz"
Date:
Subject: Re: JDBC and GSSAPI/Krb5
Next
From: "Peter Koczan"
Date:
Subject: Re: JDBC and GSSAPI/Krb5