• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Authenticate user against MS active directory in Java

 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to authenticate user against MS active directory in my servlet application. Has anyone done this? Can you point me to some resources?
Thanks!

 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think AD supports LDAP, which can be used from Java via the JNDI API. Your servlet container may have provisions for doing that automatically for authenticating users, e.g. Tomcat has the JNDIRealm.

http://wiki.java.net/bin/view/Javapedia/ActiveDirectory has a lot of information about using AD from Java.
 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link!
I will take a look.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic