I have using JAAS for kerberos authentication. Here's a part of my code. This code tries to get the currently logged on user's Kerberos ticket
Do we need to add any other information to getPrivateCredentials() set ? eg getPrivateCredentials().add( "..." ); ?
I tried to compare this ticket (by writing the ticket.getEncoded to an output file ) with that created by Java's kinit. It doesn't seem to be the same. My issue is , i don't want to use kinit to create my ticket. I want to
create the ticket in the Java program.