Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAAS - Getting Stored Kerberos Ticket

Saran Vel
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using JAAS for my UserLogin application with Kerberos Authentication. First i'm getting the service ticket for the server and started the server. While running the client i'm getting the ticket from kdc and communicating with the server.
The problem is when i'm trying to make it as single sign on. I mean, when i start the client for second time it asking for the userid and password again. But i want the client to look into the stored ticket and use the same.
In configuration file i used the property useTicketCache=true. Since i donn't know where the ticket is stored, physically, i'm not able to mention the ticket path using "ticketCache" property.
I want to know whether it is possible to direct the client to store the ticket, got from kdc, in a physical storage, instead of memory?
Or whether it is possible to retrive the stored ticket in the memory, so that when the client connects server for the second time, it should not be asked for password.
Please help me to solve this problem, which i'm struggling to find a solution for long time.. Any kind of help will be highly appreciated..
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic