How to use LDAP connection in portlet


I’ve developed a portlet and i need to find a user in the LDAP, defined in MWS, but I don’t know how to use this connection.
Have you any Idea?

There are two options in webMethods to authticate user from LDAP you can either write your own authentication handler project or you can configuare a project using webMthods protal server administration.

In order to do so login by Administrator/ manage user to portal server. Go to myWebmethods directory services. Create a new Directory service. Select LDAP and press next. Now supply the necessary details.