• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need help with transparent single sign-on servlet filter

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.



 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic