Class LdapClient

java.lang.Object
org.frankframework.ldap.LdapClient
All Implemented Interfaces:
ICacheEnabled<String,Set<String>>

public class LdapClient extends Object implements ICacheEnabled<String,Set<String>>
Client for LDAP.
consider setting the following properties:
- java.naming.provider.url
- com.sun.jndi.ldap.connect.pool
- java.naming.referral = follow
- nl.nn.iuf.LdapClient.groupAttributeCache.name
- nl.nn.iuf.LdapClient.groupAttributeCache.timeToLive

Connection Pooling:
To set connection pool properties that are set as custom properties, create a properties file named Ldap.properties with the attributes and place in the classpath. To override the name of the properties file or to locate the properties within some relative location to classpath, eg, nl/nn/iuf/Ldap.properties or Ldap-highperformance.properties add JVM custom property ldap.props.file to have the file name you want to have.

Connection pooling is enabled by passing environment property : "com.sun.jndi.ldap.connect.pool" with "true".

Supported attributes are as follows,
- com.sun.jndi.ldap.connect.pool.authentication
- com.sun.jndi.ldap.connect.pool.debug
- com.sun.jndi.ldap.connect.pool.initsize
- com.sun.jndi.ldap.connect.pool.maxsize
- com.sun.jndi.ldap.connect.pool.prefsize
- com.sun.jndi.ldap.connect.pool.protocol
- com.sun.jndi.ldap.connect.pool.timeout
See Also:
  • "http://docs.oracle.com/javase/jndi/tutorial/ldap/connect/config.html"