This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Validate Kerberos key with ActiveDirectory using JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Validate Kerberos key with ActiveDirectory using JNDI" Watch "Validate Kerberos key with ActiveDirectory using JNDI" New topic
Author

Validate Kerberos key with ActiveDirectory using JNDI

Venkat Sadasivam
Ranch Hand

Joined: May 10, 2008
Posts: 139
Hi, I am trying to implement SSO in our servlet based web application.

I am able to negotiate and get kerberos token from internet explorer. How do I validate this kerberos token with ActiveDirectory? Is there any simple API available in Java?

Thanks,
Venkat


“Any fool can write code that a computer can understand. Good programmers write code that humans can understand. ”<br>
-Martin Fowler
Venkat Sadasivam
Ranch Hand

Joined: May 10, 2008
Posts: 139
Let me complete this thread by answering my own question.

After extensive Google search gathered enough information and implemented SSO successfully.

Here is my experience.
http://webmoli.com/2009/08/29/single-sign-on-in-java-platform/
Pat Gonzalez
Greenhorn

Joined: Oct 18, 2009
Posts: 19
Take a look at this open source project http://spnego.sourceforge.net I think it is doing what you want.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Validate Kerberos key with ActiveDirectory using JNDI
 
Similar Threads
Create SAML token, verify token and get user id from token
JAAS, mixing cofigs ..
Consuming a .NET kerberized web service using the spnego.sourceforge.net open source library
Disable SPNEGO login on JBOSS
acceptSecContext() failed in GSSAPI