Skip to content

Instantly share code, notes, and snippets.

@nialdarbey
Created October 14, 2012 01:40
Show Gist options
  • Save nialdarbey/3886931 to your computer and use it in GitHub Desktop.
Save nialdarbey/3886931 to your computer and use it in GitHub Desktop.
devkit sample ref
/**
* Performs a LDAP search returning a list with all the resulting LDAP entries.
* <p/>
* For queries returning large results it is recommended to use pagination (not all LDAP servers support this or are configured to support it).
* For that you need to provide a page size value that should be less or equal than max results (count limit). If you are getting a
* Sizelimit Exceeded exception then you should check that the authenticated user has enough privileges or the LDAP server is not
* limited by configuration.
* <p/>
* <h4>Returning all attributes for all persons that have Doe as surname</h4>
* {@sample.xml ../../../doc/mule-module-ldap.xml.sample ldap:search-1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment