This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a doubt in LDAP context creation and authentication of a user from LDAP server.
While creating the context of LDAP, i use binding domain name and binding password as shown below:
Hashtable env = new Hashtable();
DirContext ctx = new InitialDirContext(env);
Now after successful creation of LDAP context, i want to authenticate one user from LDAP server eg: username : "firstname.lastname@example.org" and password : "passwd1@3".
I am stuck at this point that how to authenticate this user from LDAP server through Java Client.