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