This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help with transparent single sign-on servlet filter

 
Chup Rush
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to see if I can write a servlet filter to do transparent single sign-on using Kerberos authentication ticket; however, this is over my head

I get the following error:
GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos Key)

I am not sure if my code is being able to read the keytab or even if I am doing this correct . I appreciate any help.



 
Himanshu Kansal
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Chup,

Please use proper [code] tags.

Do krb5.conf and sa.conf have proper format?
 
Chup Rush
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I have the proper keytab and krb5 configuration since I can use kinit and get ticket from the kdc.



krb5.conf


 
Pat Gonzalez
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's an open source project http://spnego.sourceforge.net with documentation, examples and a tutorial. It does exactly what you are trying to do
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic