i am having to do a login page in java and it must login using the credentials from LDAP, does anyone have any tutorials or examples i could use as i have no idea where to start
Thanks !
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should use spring-security which has dozen of utilities and tutorial.
Here is the link to the official documentation: http://forum.springsource.org/showthread.php?124263-Basic-LDAP-Example-For-Spring-Security-3-1
BTW, here is the code to bind to an ldap server in pure JNDI: