Discussion:
How to generate TGT using java GSS API
(too old to reply)
Jim Shi
2024-03-04 22:10:49 UTC
Permalink
Hi, We can generate a TGS with GSS API in Java.
But is there a way to get TGT in java, assuming I have account/password?
Thanks
Jim
Ken Hornstein
2024-03-05 01:46:01 UTC
Permalink
Post by Jim Shi
Hi, We can generate a TGS with GSS API in Java.
But is there a way to get TGT in java, assuming I have account/password?
With the pure, standards based GSS, the answer is "no". There is
this, but I do not know if all Java implementations support it:

https://docs.oracle.com/javase/8/docs/jre/api/security/jaas/spec/com/sun/security/auth/module/Krb5LoginModule.html

--Ken

Loading...