zno2

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:

PropertySupportedComments
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 simplenone, list of SASL mechanisms
java.naming.security.credentials Yes  
java.naming.security.principal Yes  
java.naming.security.protocol Yes ssl

posted on 2023-08-25 16:27  zno2  阅读(4)  评论(0编辑  收藏  举报

导航