This documentation is for WSO2 Identity Server 5.0.0. View documentation for the latest release.
Page Comparison - Adding High Availability for LDAP (v.2 vs v.3) - Identity Server 5.0.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the <PRODUCT_HOME>/repository/conf/user-mgt.xml file and find the user store manager class relevant for your LDAP.
    <UserStoreManager class="org.wso2.carbon.user.core.ldap.LDAPUserStoreManager">
  2. Failover for LDAP is configured by defining LDAP connection URLs with a space between them. Under the UserStoreManager tag, modify the ConnectionURL property. See the example below.
    <Property name="ConnectionURL">ldap://localhost:10500 ldap://localhost:10511 ldap://localhost:10512</10511</Property>

    Note

    This can be done for either a primary or secondary LDAP user store with failover configuration. In this example, if you cannot connect to ldapto ldap://localhost:10500, it will you can automatically connect to other URLs respectivelyldap://localhost:10511.