[22122] in Kerberos

home help back first fref pref prev next nref lref last post

grabbing session key from GSS-API

daemon@ATHENA.MIT.EDU (David Tsai)
Wed Aug 4 04:01:02 2004

Message-ID: <00b501c479f8$af60bf20$43367409@davidlaptop>
From: "David Tsai" <dwtsai@mit.edu>
To: <kerberos@mit.edu>
Date: Wed, 4 Aug 2004 16:57:25 +0900
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Errors-To: kerberos-bounces@mit.edu
Content-Transfer-Encoding: 8bit

Hi,

I'm working on kerberizing a few java (v1.4.2) classes and am building utilizing JAAS/GSS-API to help me authenticate against a kerberos server.  If authentification is successful, I can get the ticket in a GSS wrapper by doing mySubject.getPrivateCredentials(), but I was wondering if there was a way to extract the ticket session key from the wrapper, hopefully in the form of a string or array.  Somebody told me vaguely to try "RFC", but I'm not sure exactly what he meant and also how I would implement that into my Java project.  It seems like there should be something within the GSS API that already lets me dig into and extract the session key from ticket wrapper, but I haven't been able to find it.

Any help would be greatly appreciated.

Thanks,
David
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post