If you're looking for real kinit functionality so that you can interact with kerberized services, you might just shell exec kinit. Others on the list might have better suggestions.
If you're looking to validate username/password logins via Kerberos (which is the context in which I'm accustomed to hearing that question), then this jar might help you: https://github.com/JorjBauer/java-kpass -- Jorj On 06/22/2016 02:37 AM, Ghosh, Parthapratim wrote: > Hi Kerberos team, > > I have the following question - > > How can one simulate kinit call with userid and password from java. I have a > java process running and want to kinit from that process. > > Thanks and Regards > Partha Pratim Ghosh > > ________________________________________________ > Kerberos mailing list Kerberos@mit.edu > https://mailman.mit.edu/mailman/listinfo/kerberos > ________________________________________________ Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos