Pedro Igor edited a comment on Bug PLINK-403

Connection pool supported added. Here is a configuration example:

Properties properties = new Properties();

// connection pooling configuration
properties.put("com.sun.jndi.ldap.connect.pool", "true");
properties.put("com.sun.jndi.ldap.connect.pool.authentication", "simple");
properties.put("com.sun.jndi.ldap.connect.pool.maxsize", "10");
properties.put("com.sun.jndi.ldap.connect.pool.prefsize", "5");
properties.put("com.sun.jndi.ldap.connect.pool.timeout", "300000");
properties.put("com.sun.jndi.ldap.connect.pool.debug", "fine");

IdentityConfigurationBuilder builder = new IdentityConfigurationBuilder();

builder
    .named(SIMPLE_LDAP_STORE_CONFIG)
        .stores()
            .ldap()
                .connectionProperties(properties) // use this to pass the config properties.                        

For a running example using the pool configuration, run any test case from the IDM suite using the org.picketlink.test.idm.testers.LDAPStoreConfigurationTester.

For more details about how connections are being created/closed set the "com.sun.jndi.ldap.connect.pool.debug" property to "debug" or "fine".

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira