+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Configure apps to work with LDAP

Configure MobileFirst mobile apps to work with an external LDAP registry

The configuration process includes the following steps:


Procedure

To configure a secure gateway connection to our LDAP server, we must create an instance of the Secure Gateway service on Bluemix and then obtain the IP information for the LDAP registry. We need your local LDAP host name and port number for this step.

  1. Log on to Bluemix and navigate to Catalog, Category > Integration, and then click Secure Gateway.
  2. Under Add Service, select an app and then click CREATE. Now the service is bound to our app.
  3. Go to the Bluemix dashboard for the app, click on the Secure Gateway service instance, and then click ADD GATEWAY.
  4. Name the gateway and click ADD DESTINATIONS and enter the name, IP address, and port for our local LDAP server.
  5. Follow the prompts to complete the connection. To see the destination initialized, navigate to the Destination screen of the LDAP gateway service.
  6. To obtain the host and port information that you need, click the Information icon on the LDAP gateway service instance (located on the Secure Gateway dashboard). The details displayed are an alias to our local LDAP server.
  7. Capture the Destination ID and Cloud Host : Port values. Provide these values for the LDAP login module.


Results

The communication between the MobileFirst app in the container on Bluemix with your local LDAP server is established. The authentication and authorization from the Bluemix app is validated against your local LDAP server.

Parent topic: LDAP configuration for containers