pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Peter Koczan <pjkoczan@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Cc: sfrost@snowman.net
Subject: Re: GSSAPI/KRB5 and JDBC (again)
Date: Tue, 29 Jul 2008 14:37:30 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0807291428560.29965@leary.csoft.net> (raw)
In-Reply-To: <4544e0330807291031l3b0f7778q3c3ac4d37bfed76a@mail.gmail.com>
References: <4544e0330807241604ye974d07x34408ac3cc11cf3e@mail.gmail.com>
	<20080725005012.GB16005@tamriel.snowman.net>
	<4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com>
	<Pine.BSO.4.64.0807290027090.2814@leary.csoft.net>
	<4544e0330807291031l3b0f7778q3c3ac4d37bfed76a@mail.gmail.com>



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



view thread (7+ messages)

Message-ID: <Pine.BSO.4.64.0807291428560.29965@leary.csoft.net>
Permalink:  ../Pine.BSO.4.64.0807291428560.29965@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0807291428560.29965@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, pjkoczan@gmail.com, sfrost@snowman.net
  Subject: Re: GSSAPI/KRB5 and JDBC (again)
  In-Reply-To: <Pine.BSO.4.64.0807291428560.29965@leary.csoft.net>
  References: <4544e0330807241604ye974d07x34408ac3cc11cf3e@mail.gmail.com> <20080725005012.GB16005@tamriel.snowman.net> <4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com> <Pine.BSO.4.64.0807290027090.2814@leary.csoft.net> <4544e0330807291031l3b0f7778q3c3ac4d37bfed76a@mail.gmail.com> <Pine.BSO.4.64.0807291428560.29965@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox