Problem using JAAS and GSS-API from Sun's Tutorial.

Craig google at
Tue Apr 15 16:19:47 EDT 2003

I am running the JAAS and GSS-API tutorial from
I am running in a Windows 2000 Active Directory environment. It
appears to be running correctly, but I have a question. Every time it
is run, it asks for the User ID (it supplies a default of my current
login name) and then a password. The server also asks for the same
information. I am running the client and server on the same machine,
so the user ID and password entered for both are identical.

I have " required
useTicketCache=true;" set in the configuration file.

I was under the impression, however, that either GSS-API or JAAS using
Kerberos would be able to obtain credentials without asking for the
user ID and password, because I am already logged on. Is there
something I need to change in the example do this? Am I missing
something else?

Thank you.

More information about the Kerberos mailing list