File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes search a user in LDAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "search a user in LDAP" Watch "search a user in LDAP" New topic

search a user in LDAP

vittal mareddy

Joined: Jul 24, 2011
Posts: 16
I have a below code to lookup LDAP to find userprincipal name using login name, works fine, look up to default ldap server, if i want to provide ldap server name, port and principal user name and password, what code i have to use, it will be great help.

I agree. Here's the link:
subject: search a user in LDAP
Similar Threads
LDAP for Authentication
LDAP Context properties and LDAP authentication.
How to configure LDAP in JBoss AS 7.1.1
How to bind() ?
JNA to call advapi32 GetUserName function