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 Customer Requirements for Developers this week in the Jobs Discussion 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: 17
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.

subject: search a user in LDAP
It's not a secret anymore!