Re: GSSAPI/KRB5 and JDBC (again)

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: GSSAPI/KRB5 and JDBC (again)
Дата
Msg-id Pine.BSO.4.64.0807291428560.29965@leary.csoft.net
обсуждение исходный текст
Ответ на Re: GSSAPI/KRB5 and JDBC (again)  ("Peter Koczan" <pjkoczan@gmail.com>)
Список pgsql-jdbc

On Tue, 29 Jul 2008, Peter Koczan wrote:

> Our ticket cache location is somewhat random on each login, but it can
> always be reliably found by looking at the environment variable
> KRB5CCNAME. I can specify the temporary location, but it would be much
> better to somehow be able to grab the auth info from that.

Yes, that would be good, but I'm not sure how to do it.  I'll make a note
to look at this when I take another pass at the code.

> I got this working after a few attempts and reading up on Java auth
> configs. It looks like I have to have the line which tells which user
> to use, i.e.
>
>        props.setProperty("user", "koczan");

Per discussion with Stephen I added some code to pickup the default user
from the environment instead of requiring it:

http://archives.postgresql.org/pgsql-jdbc/2008-05/msg00013.php

So you might need to get the newer code mentioned in that message.

Kris Jurka

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Peter Koczan"
Дата:
Сообщение: Re: GSSAPI/KRB5 and JDBC (again)
Следующее
От: Peter Zeltins
Дата:
Сообщение: Re: numeric type