Configure Ambience 2020 Server to use LDAP Authentication

To enable users to be authenticated by LDAP:

  1. Comment out simple sso and uncomment ldap-sso in etc/application.conf of the Ambience Server installation:
    ambience {
    modules {
    #choose either simple-sso (default) or ldap-sso
    #simple-sso {
    #class: “ambience.simplesso.SimpleSSOModule”
    #}
    ldap-sso {
    class: “ambience.ldapsso.LDAPSSOModule”
    }
    }
    }

  2. Modify the following contents in etc/application.conf accordingly to the LDAP server, e.g.
    #only used if module ldap-sso is selected above
    ambience.ldap-sso {
    cxtFactory = “com.sun.jndi.ldap.LdapCtxFactory”
    host = “localhost”
    port = 10389
    protocol = “default”
    method = “simple”
    users = “ou=users,dc=elixirbase,dc=com”
    uidAttribute = “uid”
    mailAttribute = “mail”
    connectTimeout = 10 seconds
    readTimeout = 10 seconds
    bind {
    user = “”
    password = “”
    }
    }

  3. Add one user from LDAP in Identity Management.

  4. Add required users from LDAP to User Management.

  5. Start Server with modified etc/application.conf

  6. Login with the user added in step 3 of the precondition.

  7. Login with another user from step 4 which is not in Identity Management.