Package org.apache.directory.ldap.client.api

Examples of org.apache.directory.ldap.client.api.PoolableLdapConnectionFactory


        LdapConnectionConfig cc = createConnectionConfig();
        if (!config.getBindDN().isEmpty()) {
            cc.setName(config.getBindDN());
            cc.setCredentials(config.getBindPassword());
        }
        adminConnectionFactory = new PoolableLdapConnectionFactory(cc);

        if (config.getAdminPoolConfig().getMaxActive() != 0) {
            adminPool = new LdapConnectionPool(adminConnectionFactory);
            adminPool.setTestOnBorrow(true);
            adminPool.setMaxActive(config.getAdminPoolConfig().getMaxActive());
View Full Code Here

TOP

Related Classes of org.apache.directory.ldap.client.api.PoolableLdapConnectionFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.