I would like to validate username and password for my new open source Java project using LDAP(Iplanet or Open DS), despite of validating against database.
Primary activities i would like to do are:
1) Validate userName and password
2) Add a user or Group to directoy server
3) Assigning a user to a Group.
Any light weight Java API, that provides quick learning curve.
I have a good experience with UnboundID LDAP SDK . It is just a single jar , has a good documentation , very user-friendly API , and a lot of advantages when compared to the JNDI .
I especially like its ORM framework which can easily map a LDAP record to a Java object .