• Post Reply Bookmark Topic Watch Topic
  • New Topic

Get logged in Kerberos ticket  RSS feed

 
Brian Adams
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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.


Any thoughts?
thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!