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.
Property | Description | Default value |
---|---|---|
com.axiomatics.jndi.ldap.connect.pool | The 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.timeout | The 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.timeout | The 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.protocol | A 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.prefsize | The property represents the preferred number of connections per connection identity that should be maintained concurrently. | no preferred size |
com.sun.jndi.ldap.connect.pool.maxsize | The property represents the maximum number of connections per connection identity that can be maintained concurrently. | no maximum size |
com.sun.jndi.ldap.connect.pool.timeout | The 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.authentication | A list of space-separated authentication types of connections that may be pooled. Valid types are none , simple , and DIGEST-MD5 . | none simple |