UConn Open LDAP - Perform Basic Functions (Single User Lookup)

UConn has several data sources based in LDAP (Lightweight directory access protocol). LDAP is a protocol that makes it possible for applications to query user information rapidly. UConn has OpenLDAP and Microsoft Active Directory. This article gives some basic guidelines for querying/extracting information from a UConn LDAP source since that is the most frequent use of LDAP for integrations.

This article is intended for individuals who have a Boomi Associate Integration Developer Certification. If you do not know how to complete an action like “add a message shape”, please complete the recommended trainings

In Boomi’s LDAP connector, the import wizard prompts for “additional attributes” before it shows the attributes that are found based on the object type selected.  This is a bit backwards if the user does not have an in depth understanding of the UConn LDAP structures and their contents.  If your use case needs the basic profile of an identity from LDAP, making a copy of the operation reference below is more efficient than using the import wizard for a custom query.

 Instructions

We will first make a process that queries LDAP for attributes based on a netid.

  1. Create an appropriately named folder where you keep this LDAP lesson organized.

  2. On the Start tab, click Build an Integration, Create a new Process->

  3. Configure the Start Shape with the No Data option and click Ok.

  4. Connect a Message Shape to the Start Shape and type in a few netids that are known to you.

  5. In the LDAP lesson folder, create a new flat file profile that consists of a netid element like the one shown here.

  6. Connect a data process shape to the message shape with a Split Documents step. The profile type is Flat File. Select Split by Profile and set the Profile to the name of the flat file profile created in the previous step. Set the Link Element to netid.

     

  7. Connect an LDAP connector to the data process shape. Select the UConn Open LDAP connection. Set the action to QUERY. Click the green plus to launch the import wizard.

  8. Select your test atom cloud (UConn-TAC-IAM-DevAtom in the example here) and set a custom attribute value of “uid”. Click Next.

  9. On the Object Type drop-down select “uconnPerson” and click Next.

  10. When the LDAP Operation Import window shows the “Operation Loaded” message, click Finish

  11. First, change the default name of the operation to something appropriately descriptive. Second, set search context to dc=uconn, dc=edu. Third, click Filters,

  12. Click Add Expression on the Filter down arrow menu.

  13. Set the filter name to “netid” and in the field choice select uid.

  14. Set the operator to Equal To. Click Save and Close.

  15. Back on the connector shape, click OK.

  16. On the process designer, click the yellow exclamation to set the parameter.

  17. Click import all 1?.

  18. With the netid row highlighted, click the green pencil.

  19. In the parameter value window set the type to Profile Element, the profile type to Flat File, the Profile to UID Flat File Profile, and the element to netid.

  20. Add a Stop shape to the LDAP connector shape.

Time to test!

 

How to Test

  1. Click Test in the upper right corner of the process pallet. 

  2. Pick the Test Atom Cloud (TAC) available in your subaccount and click OK. An example shown here is the generic Test-Atom-Cloud for the mail UConn account.

  3. The process will execute in test mode, and you will see each step get a green halo as it completes successfully. You will see a success message when it is done.

  4. Click the stop shape with the green halo around it. On the bottom of the screen, click Shape Source Data and then click one of the View Source icons.

  5. You will see the LDAP Response in JSON format.

Related articles