Author: areshetnyak
Date: 2011-06-01 02:42:07 -0400 (Wed, 01 Jun 2011)
New Revision: 4467
Modified:
core/branches/2.3.x/exo.core.component.ldap/src/main/java/org/exoplatform/services/ldap/impl/LDAPServiceImpl.java
Log:
EXOJCR-1366 : Changes from patch COR-237.patch was reverted.
Modified:
core/branches/2.3.x/exo.core.component.ldap/src/main/java/org/exoplatform/services/ldap/impl/LDAPServiceImpl.java
===================================================================
---
core/branches/2.3.x/exo.core.component.ldap/src/main/java/org/exoplatform/services/ldap/impl/LDAPServiceImpl.java 2011-06-01
05:39:20 UTC (rev 4466)
+++
core/branches/2.3.x/exo.core.component.ldap/src/main/java/org/exoplatform/services/ldap/impl/LDAPServiceImpl.java 2011-06-01
06:42:07 UTC (rev 4467)
@@ -86,17 +86,6 @@
// TODO move it in configuration ?
env.put("com.sun.jndi.ldap.connect.timeout", "60000");
- if (config.getMinConnection() > 0)
- {
- env.put("com.sun.jndi.ldap.connect.pool.initsize",
Integer.toString(config.getMinConnection()));
- env.put("com.sun.jndi.ldap.connect.pool.prefsize",
Integer.toString(config.getMinConnection()));
- }
-
- if (config.getMaxConnection() > 0)
- {
- env.put("com.sun.jndi.ldap.connect.pool.maxsize",
Integer.toString(config.getMaxConnection()));
- }
-
env.put("com.sun.jndi.ldap.connect.pool", "true");
env.put("java.naming.ldap.version", config.getVerion());
env.put("java.naming.ldap.attributes.binary", "tokenGroups");
Show replies by date