jndi.properties
http://docs.oracle.com/javase/7/docs/technotes/guides/jndi/jndi-ldap.html
3.1 JNDI Properties
The LDAP service provider supports the following JNDI environment properties:
Property | Supported | Comments |
---|---|---|
java.naming.batchsize | Yes | Default value is 1. |
java.naming.factory.control | Yes | |
java.naming.factory.initial | Yes | Specify com.sun.jndi.ldap.LdapCtxFactory to use the LDAP service provider as the initial context. |
java.naming.factory.object | Yes | |
java.naming.factory.state | Yes | |
java.naming.language | No | Ignored by the provider. |
java.naming.provider.url | Yes | On systems earlier than the Java 2 SDK, v 1.4.1, can contain only a single URL. On systems earlier than the Java 2 SDK, v 1.4.2, cannot contain LDAPS URLs. |
java.naming.referral | Yes | |
java.naming.security.authentication | Yes | simple, none, list of SASL mechanisms |
java.naming.security.credentials | Yes | |
java.naming.security.principal | Yes | |
java.naming.security.protocol | Yes | ssl |