This section introduces the LDAP adapter that allows easy access to LDAP directories from SOA Composite applications. The LDAP Adapter is a JCA Adapter, similar to the UMS, JMS and Database Adapter. It can be used in the inbound direction – triggered by specific changes in an observed LDAP directory – and in the outbound direction to search for LDAP entries, and to create, modify and delete such entries. The LDAP Adapter supports LDAP v3.0. It can be used against most major LDAP implementations – including OUD (Oracle Universal Directory), OVD (Oracle Virtual Directory) and OID (Oracle Internet Directory), Active Directory and many others.
In this section, we will use the LDAP adapter to retrieve data on existing user [accounts] and we will create new user accounts. We will assume an instance of ApacheDS as LDAP Directory – details on installation and configuration are provided in the resources listed below. The call to the LDAP adapter is integrated into the BPEL process that was designed in the previous section.
This figure visualizes the SOA Composite with the LDAP Adapter that is implemented in this section.
The sources for the final situation for this section are found in folder AirportAccreditationService-step2.
Getting started with ApacheDS as LDAP Directory and Apache DirectoryStudio LDAP Browser .
Maarten Smeets on the AMIS Technology Blog: Oracle SOA Suite 12c: The LDAPAdapter, a quick and easy tutorial
Blog article on Installing ApacheDS, Creating an LDAP Server and Configuring the LDAP Adapter to run against it (by Maarten Smeets)
Configuring the LDAP Adapter on the target WebLogic domain and Creating a SOA Composite with LDAP adapter to create user accounts: http://technology.amis.nl/2014/10/22/soa-suite-12c-creating-user-accounts-in-apacheds-using-the-ldap-adapter-inspired-by-maarten-smeets/
Blog article on Creating a SOA Composite for querying users from an LDAP directory using the SOA Suite 12c LDAP Adapter.
Home page for ApacheDS.