I’m using Java on the server side and I want to validate a kerberos ticket with java code. I have a keytab file. How do I do this? I keep finding all of these samples which don’t use a keytab but I believe I need to use this. Also, I don’t want to use spring or anything like that, just the GSSAPI. I have a krb5.ini file as well. Has anyone else done this?
Share
I have done this. Take a look at the code of spnego.sourceforge.net. This is exactly what you need.