Configuring LDAP connection pooling
Legacy JNDI LDAP pooling is not offered for new configurations by default in Crowd 8.0. Set crowd.ldap.legacy.jndi.pooling.enabled=true to offer it again. Existing directories using JNDI pooling continue to work regardless of this property. Dynamic pooling remains available.
For property defaults and configuration instructions, see Recognized system properties and Configuring system properties.
The LDAP service provider maintains a pool of connections and assigns them as needed. When a connection is closed, LDAP returns the connection to the pool for future use. This can significantly improve performance.
The table describes dynamic pooling and the retained legacy JNDI pooling configuration.
JNDI | Legacy pooling type. You configure it globally, the same properties are used for all directories that use this type. Existing JNDI-pooled directories retain their configuration; the compatibility property controls its availability for new configurations. | Learn more |
|---|---|---|
Dynamic | Improved pooling type with more settings and customizations. You enable it separately for each directory, and each of them can use their own set of properties. You can configure it in Crowd. This type is required for directories that use StartTLS. This type is recommended as it significantly improves performance. | Learn more |