Re: Trying to accomplish SSO from Windows - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Trying to accomplish SSO from Windows
Date
Msg-id alpine.BSO.2.00.1007091518100.25837@leary.csoft.net
Whole thread Raw
In response to Trying to accomplish SSO from Windows  (Bryan Montgomery <monty@english.net>)
Responses Re: Trying to accomplish SSO from Windows  (Bryan Montgomery <monty@english.net>)
List pgsql-jdbc

On Thu, 8 Jul 2010, Bryan Montgomery wrote:

> Hello,
> I've been looking for some examples on how to connect to a linux postgresql
> database from a java client running on Windows. The Jaas seems to be getting
> the credentials from my windows logon, but then the jdbc driver is blowing
> up with some sun classes looking for a non-existent file.
>
> Caused by: GSSException: Invalid name provided (Mechanism level: Could not
> load configuration file C:\WINDOWS\krb5.ini (The system cannot find the file
> specified))
>

It appears you need to create that file or manually specify the realm and
KDC as system properties.

http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/guide/security/jgss/tutorials/KerberosReq.html

Kris Jurka


pgsql-jdbc by date:

Previous
From: Bryan Montgomery
Date:
Subject: Trying to accomplish SSO from Windows
Next
From: Bryan Montgomery
Date:
Subject: Re: Trying to accomplish SSO from Windows