Has anyone of you have done authentication using java and ms active directory? I'm a newbie in this area of Java and our client requires that there web application be authenticated using their ms active directory. I appreciate if you can share some code to do this.
I looked at this thread and it seems that they are discussing authentication using JAAS and AD. What I need is an LDAP way of accessing Active Directory. Do you know if there are threads that discuss LDAP authentication using AD.
I'm not sure the code that's posted answers the OP's question. The code shows that "user" and "password" are built into the LDAP context to "bind" to the LDAP data. That's step 1. Step 2 would be to USE that context to determine if any random user/password pair in that context are valid.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Active Directory Authentication using java