Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
The JNDISourceAdapter does not support connection pooling and does not cache connections, so each time information needs to be retrieved about a subject, a new LDAP connection is made.
Connection pooling can be added by simply setting com.sun.jndi.ldap.connect.pool to "true" in the environment properties.
environment.put("com.sun.jndi.ldap.connect.pool", "true");
It is not clear yet whether the value for this property should be a part of the sources.xml file.
Also, to support SSL and non-SSL connections, the system property com.sun.jndi.ldap.connect.pool.protocol should be set to "plain ssl".