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

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


I am running the JAAS and GSS-API tutorial from
http://java.sun.com/j2se/1.4.1/docs/guide/security/jgss/tutorials/BasicClientServer.html.
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 "com.sun.security.auth.module.Krb5LoginModule 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.
Craig


More information about the Kerberos mailing list