Check User Existence In LDAP
Check User Existence In LDAP using LDAP connector.
Prerequisite:
To use the LDAP Connector, you must have the following:
- Access to either an OpenLDAP, Apache Directory, or MicroSoft Active Directory Instance.
- Anypoint Studio version 7.0 (or higher) or Anypoint Design Center.
To use the LDAP Connector in a production environment, you must have either:
- An Enterprise license to use Mule.
- A CloudHub Starter, Professional, or Enterprise account.
Below operation is present to check entry in Ldap
Exists: Checks whether an LDAP entry exists in the LDAP server or not, it returns Boolean value as true or false
Ldap Exists
Create sample project in anypoint studio and add listener to trigger the flow
Drag and drop LDAP exists operation from mule palette if you can not find LDAP operation in mule palette please add LDAP module using Exchange or visit this url for more information
Provide the Connection Details as given below and pass the DN value for the LDAP entry
LDAP connection details
Deploy the project and trigger from soapui
As we can see entry is present in LDAP
Trigger the project from soapui, we can see true value is returned
Sample application: checkuserinldap sample application
Soapui project: ExistUser-soapui-project.xml