LibraryToggle FramesPrintFeedback

To enable LDAP authentication:

  1. Ensure that the X.500 directory server is running.

  2. Start Fuse ESB by entering the following command in a terminal window:

    > servicemix
  3. Create a Blueprint configuration file called ldap-module.xml.

  4. Copy Example 8.1 into ldap-module.xml.


    This login module creates a JAAS realm called karaf, which is the same name as the default JAAS realm used by Fuse ESB. By redefining this realm with a rank attribute value greater than 0, it overrides the standard karaf realm which has the rank 0. For more information on configuring a JAAS realm see Defining JAAS Realms.

    For a detailed description of configuring Fuse ESB to use LDAP see Enabling LDAP Authentication.

  5. To deploy the new LDAP module, copy the ldap-module.xml into the Fuse ESB deploy/ directory.

    The LDAP module is automatically activated.

  6. Test the new LDAP realm by connecting to the running container using the Fuse ESB client utility.

    1. Open a new command prompt.

    2. change directory to the Fuse ESB install directory.

    3. Enter the following command to log on to the running container instance using the identity janedoe:

      client -u janedoe -p secret

      You should receive the following message:

      Authentication failure

      This fails because janedoe does not have the admin role which is required for using the remote console.

    4. Enter the following command to log on to the running container instance using the identity jdoe:

      client -u jdoe -p secret

      You should successfully log into the container's remote console because jdoe does have the admin role.

  7. Log off the remote console by entering the logout command.

Comments powered by Disqus