@@ -1372,17 +1372,18 @@ jdk.io.permissionsUseCanonicalPath=false
13721372jdk.tls.alpnCharset=ISO_8859_1
13731373
13741374#
1375- # JNDI Object Factories Filter
1375+ # Global JNDI Object Factories Filter
13761376#
13771377# This filter is used by the JNDI runtime to control the set of object factory classes
13781378# which will be allowed to instantiate objects from object references returned by
13791379# naming/directory systems. The factory class named by the reference instance will be
13801380# matched against this filter. The filter property supports pattern-based filter syntax
1381- # with the same format as jdk.serialFilter.
1381+ # with the same format as jdk.serialFilter. Limit patterns specified in the filter property
1382+ # are unused.
13821383#
1383- # Each pattern is matched against the factory class name to allow or disallow it's
1384- # instantiation. The access to a factory class is allowed unless the filter returns
1385- # REJECTED .
1384+ # Each class name pattern is matched against the factory class name to allow or disallow its
1385+ # instantiation. The access to a factory class is allowed if the filter returns
1386+ # ALLOWED .
13861387#
13871388# Note: This property is currently used by the JDK Reference implementation.
13881389# It is not guaranteed to be examined and used by other implementations.
@@ -1393,3 +1394,55 @@ jdk.tls.alpnCharset=ISO_8859_1
13931394# The default pattern value allows any object factory class specified by the reference
13941395# instance to recreate the referenced object.
13951396#jdk.jndi.object.factoriesFilter=*
1397+
1398+ #
1399+ # Protocol Specific JNDI/LDAP Object Factories Filter
1400+ #
1401+ # This filter is used by the JNDI/LDAP provider implementation in the JDK to further control the
1402+ # set of object factory classes which will be allowed to instantiate objects from object
1403+ # references bound to LDAP contexts. The factory class named by the reference instance will
1404+ # be matched against this filter. The filter property supports pattern-based filter syntax
1405+ # with the same format as jdk.serialFilter. Limit patterns specified in the filter property
1406+ # are unused.
1407+ #
1408+ # Each class name pattern is matched against the factory class name to allow or disallow its
1409+ # instantiation. The access to a factory class is allowed only when it is not rejected by this filter
1410+ # or by the global filter defined by "jdk.jndi.object.factoriesFilter", and at least one of these
1411+ # two filters returns ALLOWED.
1412+ #
1413+ # Note: This property is currently used by the JDK Reference implementation.
1414+ # It is not guaranteed to be examined and used by other implementations.
1415+ #
1416+ # If the system property jdk.jndi.ldap.object.factoriesFilter is also specified, it supersedes
1417+ # the security property value defined here. The default value of the property is
1418+ # "java.naming/com.sun.jndi.ldap.**;!*".
1419+ #
1420+ # The default pattern value allows any object factory class defined in the java.naming module
1421+ # to be specified by the reference instance, but rejects any other.
1422+ #jdk.jndi.ldap.object.factoriesFilter=java.naming/com.sun.jndi.ldap.**;!*
1423+
1424+ #
1425+ # Protocol Specific JNDI/RMI Object Factories Filter
1426+ #
1427+ # This filter is used by the JNDI/RMI provider implementation in the JDK to further control the
1428+ # set of object factory classes which will be allowed to instantiate objects from object
1429+ # references bound to RMI names. The factory class named by the reference instance will
1430+ # be matched against this filter. The filter property supports pattern-based filter syntax
1431+ # with the same format as jdk.serialFilter. Limit patterns specified in the filter property
1432+ # are unused.
1433+ #
1434+ # Each class name pattern is matched against the factory class name to allow or disallow its
1435+ # instantiation. The access to a factory class is allowed only when it is not rejected by this filter
1436+ # or by the global filter defined by "jdk.jndi.object.factoriesFilter", and at least one of these
1437+ # two filters returns ALLOWED.
1438+ #
1439+ # Note: This property is currently used by the JDK Reference implementation.
1440+ # It is not guaranteed to be examined and used by other implementations.
1441+ #
1442+ # If the system property jdk.jndi.rmi.object.factoriesFilter is also specified, it supersedes
1443+ # the security property value defined here. The default value of the property is
1444+ # "jdk.naming.rmi/com.sun.jndi.rmi.**;!*".
1445+ #
1446+ # The default pattern value allows any object factory class defined in the jdk.naming.rmi module
1447+ # to be specified by the reference instance, but rejects any other.
1448+ #jdk.jndi.rmi.object.factoriesFilter=jdk.naming.rmi/com.sun.jndi.rmi.**;!*
0 commit comments