Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > JDBC and GSSAPI...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1947 of 1984
Post > Topic >>

JDBC and GSSAPI/Krb5 with uDig

by sfrost@[EMAIL PROTECTED] (Stephen Frost) May 6, 2008 at 10:01 AM

--eDB11BtaWSyaBkpc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Greetings,

  uDig uses JDBC (it actually ships with 8.1-403, technically).  I have
  users who want to use uDig.  We use Kerberos for all of our
  authentication.  I saw that back at the end of January Kris built a
  GSS-enabled version of JDBC and put it up here:

  http://ejurka.com/pgsql/jars/gss/

  I replaced the 8.1-403 JDBC w/ that one and then followed the
  additional instructions here:

  http://archives.postgresql.org/pgsql-jdbc/2008-01/msg00154.php

  Regarding creating a login.conf, etc.  I've gotten it to the point
  where I can use GSSAPI (requires an 8.3 server, but that's not a huge
  problem) to authenticate from uDig if I provide both a username and a
  password to uDig.  Obviously, that's less than ideal.  This is on a
  Debian system w/ MIT Kerberos and psql and buddies all work fine using
  the existing ticket cache.  Is there something special to get JDBC to
  use the ticket cache in the KRB5CCNAME environment variable?

  Anyone know how this is going to work on a Windows platform?

  I believe the code involved from uDig is this:
 
http://svn.geotools.org/udig/trunk/plugins/net.refractions.udig.catalog.postgis/src/net/refractions/udig/catalog/internal/postgis/ui/PostGisWizardPage.java

  Is it possible that 'setLogin' is forcing it to try and get a new
  ticket by providing a password?  I couldn't find 'MyGSSTest' in the
  above thread to look at and compare, unfortunately.  A working example
  would be nice, if available.

  	Thanks,

		Stephen

--eDB11BtaWSyaBkpc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIIGSwrzgMPqB3kigRAuKCAJwP/Rl40EYXJ6xxjo1vmMv8lpUaYQCgmupS
paf0osuYM2PmWloknqUZM1Y=
=6aQR
-----END PGP SIGNATURE-----

--eDB11BtaWSyaBkpc--




 2 Posts in Topic:
JDBC and GSSAPI/Krb5 with uDig
sfrost@[EMAIL PROTECTED]   2008-05-06 10:01:20 
Re: JDBC and GSSAPI/Krb5 with uDig
books@[EMAIL PROTECTED]   2008-05-08 02:30:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 9:45:11 CDT 2008.