Skip to main content

The most recent patch for this version is 6.3.1.  Learn more  

Connection pooling

Connection pooling is configured via Java system properties (arguments to the JVM). Refer to the documentation for the relevant component for information about how to set system properties.

Connection pooling for the LDAP attribute connector is enabled by default for unencrypted connections, that is plain text connections. Connection pooling for LDAPS, that is, encrypted connections, must be enabled by configuration.

In addition to the enabling or disabling of connection pooling, there are a number of system properties that can be used to configure or customize the settings used to control the behavior of the LDAP connection pooling implementation.

PropertyDescriptionDefault value
com.axiomatics.jndi.ldap.connect.poolThe property controls whether an LDAP connection pool is used or not. The value of this property only affects the behavior of the Axiomatics LDAP Attribute Finder.true
com.axiomatics.jndi.ldap.connect.timeoutThe property indicates the number of milliseconds the attribute connector will wait for a connection to be established. The value of this property only affects the behavior of the Axiomatics LDAP Attribute Finder.10000
com.axiomatics.jndi.ldap.read.timeoutThe property indicates the read timeout in milliseconds for LDAP operations. If the LDAP provider fails to receive an LDAP response within the specified period, it aborts the read attempt. The value of this property only affects the behavior of the Axiomatics LDAP Attribute Finder.5000
com.sun.jndi.ldap.connect.pool.protocolA list of space-separated protocol types of connections that may be pooled. Valid types are plain and ssl.plain
com.sun.jndi.ldap.connect.pool.prefsizeThe property represents the preferred number of connections per connection identity that should be maintained concurrently.no preferred size
com.sun.jndi.ldap.connect.pool.maxsizeThe property represents the maximum number of connections per connection identity that can be maintained concurrently.no maximum size
com.sun.jndi.ldap.connect.pool.timeoutThe property represents the number of milliseconds that an idle connection may remain in the pool without being closed and removed from the pool.no timeout
com.sun.jndi.ldap.connect.pool.authenticationA list of space-separated authentication types of connections that may be pooled. Valid types are none, simple, and DIGEST-MD5.none
simple