Common standard JNDI environment properties that may be supported by JNDI providers are defined and documented in Context
. Specific JNDI provider implementations may also support other environment or system properties, which are specific to their implementation.
com.sun.jndi.ldap.connect.timeout
: com.sun.jndi.ldap.read.timeout
: com.sun.jndi.ldap.tls.cbtype
: The following implementation specific system properties are supported by the default LDAP Naming Service Provider implementation in the JDK:
com.sun.jndi.ldap.object.trustSerialData
: javaSerializedData
LDAP attribute, reconstruction of RMI references from the javaRemoteLocation
LDAP attribute, and reconstruction of binary reference addresses from the javaReferenceAddress
LDAP attribute. To allow the deserialization or reconstruction of java objects from javaSerializedData
, javaRemoteLocation
or javaReferenceAddress
attributes, the system property value can be set to true
(case insensitive). javaSerializedData
, the javaRemoteLocation
, or javaReferenceAddress
attributes is not allowed. jdk.jndi.object.factoriesFilter
: jdk.serialFilter
. Limit patterns specified in the filter property are unused. This property can also be specified as a security property. This property is also supported by the default JNDI RMI Provider. jdk.jndi.ldap.object.factoriesFilter
: jdk.serialFilter
. Limit patterns specified in the filter property are unused. ObjectFactoryBuilder
is not set. Other providers may define additional properties in their module description:
Package | Description |
---|---|
javax.naming | Provides the classes and interfaces for accessing naming services. |
javax.naming.directory | Extends the javax.naming package to provide functionality for accessing directory services. |
javax.naming.event | Provides support for event notification when accessing naming and directory services. |
javax.naming.ldap | Provides support for LDAPv3 extended operations and controls. |
javax.naming.ldap.spi | |
javax.naming.spi | Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. |
Type | Description |
---|---|
Provider | This class represents a "provider" for the Java Security API, where a provider implements some or all parts of Java Security. |
Type | Description |
---|---|
InitialContextFactory | This interface represents a factory that creates an initial context. |
LdapDnsProvider | Service-provider class for DNS lookups when performing LDAP operations. |
StartTlsResponse | This class implements the LDAPv3 Extended Response for StartTLS as defined in Lightweight Directory Access Protocol (v3): Extension for Transport Layer Security The object identifier for StartTLS is 1.3.6.1.4.1.1466.20037 and no extended response value is defined. |
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.naming/module-summary.html