Common standard JNDI environment properties that may be supported
by JNDI providers are defined and documented in
javax.
. Specific JNDI provider implementations
may also support other environment or system properties, which are specific
to their implementation.
Implementation Note
The following implementation specific environment properties are supported by the default LDAP Naming Service Provider implementation in the JDK:
java.naming.ldap.factory.socket
:
javax.net.SocketFactory
abstract class
and provide an implementation of the static "getDefault()" method that
returns an instance of the socket factory. By default the environment
property is not set.
com.sun.jndi.ldap.connect.timeout
:
java.naming.ldap.factory.socket
and unconnected sockets
are not supported, the specified timeout is ignored
and the provider behaves as if no connection timeout was set.
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.
javax.naming.spi.ObjectFactoryBuilder
is not set.
Other providers may define additional properties in their module description:
Modifier and Type | Package and Description |
---|---|
internal package | |
internal package | |
internal package | |
internal package | |
package | com.
Exported to |
internal package | |
package | com.
Exported to |
internal package | |
internal package | |
package | com.
Exported to |
exported package | javax.
Provides the classes and interfaces for accessing naming services. |
exported package | javax.
Extends the |
exported package | javax.
Provides support for event notification when accessing naming and directory services. |
exported package | javax.
Provides support for LDAPv3 extended operations and controls. |
exported package | |
exported package | javax.
Provides the means for dynamically plugging in support for accessing
naming and directory services through the |
internal package |