I want to search a user from LDAP and after getting the user I want to connect (validate)
that particular user using his DN and Password
I have successfully getting the DN but dont know how to bind it?
I want to search a user from LDAP and after getting the user I
Share
The LDAP bind() operation corresponds to the following in JNDI:
Constructing an
InitialDirContextorInitialLdapContextwith enough information in the environment to cause a login, i.e. a security principal and credentials, orCalling
reconnect()on anLdapContextinitially obtained without any security information in the environment, or with security information relating to a different principal, but whose environment has subsequently been modified.