@@ -1376,17 +1376,18 @@ jdk.io.permissionsUseCanonicalPath=false
13761376jdk.tls.alpnCharset=ISO_8859_1
13771377
13781378#
1379- # JNDI Object Factories Filter
1379+ # Global JNDI Object Factories Filter
13801380#
13811381# This filter is used by the JNDI runtime to control the set of object factory classes
13821382# which will be allowed to instantiate objects from object references returned by
13831383# naming/directory systems. The factory class named by the reference instance will be
13841384# matched against this filter. The filter property supports pattern-based filter syntax
1385- # with the same format as jdk.serialFilter.
1385+ # with the same format as jdk.serialFilter. Limit patterns specified in the filter property
1386+ # are unused.
13861387#
1387- # Each pattern is matched against the factory class name to allow or disallow it's
1388- # instantiation. The access to a factory class is allowed unless the filter returns
1389- # REJECTED .
1388+ # Each class name pattern is matched against the factory class name to allow or disallow its
1389+ # instantiation. The access to a factory class is allowed if the filter returns
1390+ # ALLOWED .
13901391#
13911392# Note: This property is currently used by the JDK Reference implementation.
13921393# It is not guaranteed to be examined and used by other implementations.
@@ -1398,6 +1399,58 @@ jdk.tls.alpnCharset=ISO_8859_1
13981399# instance to recreate the referenced object.
13991400#jdk.jndi.object.factoriesFilter=*
14001401
1402+ #
1403+ # Protocol Specific JNDI/LDAP Object Factories Filter
1404+ #
1405+ # This filter is used by the JNDI/LDAP provider implementation in the JDK to further control the
1406+ # set of object factory classes which will be allowed to instantiate objects from object
1407+ # references bound to LDAP contexts. The factory class named by the reference instance will
1408+ # be matched against this filter. The filter property supports pattern-based filter syntax
1409+ # with the same format as jdk.serialFilter. Limit patterns specified in the filter property
1410+ # are unused.
1411+ #
1412+ # Each class name pattern is matched against the factory class name to allow or disallow its
1413+ # instantiation. The access to a factory class is allowed only when it is not rejected by this filter
1414+ # or by the global filter defined by "jdk.jndi.object.factoriesFilter", and at least one of these
1415+ # two filters returns ALLOWED.
1416+ #
1417+ # Note: This property is currently used by the JDK Reference implementation.
1418+ # It is not guaranteed to be examined and used by other implementations.
1419+ #
1420+ # If the system property jdk.jndi.ldap.object.factoriesFilter is also specified, it supersedes
1421+ # the security property value defined here. The default value of the property is
1422+ # "java.naming/com.sun.jndi.ldap.**;!*".
1423+ #
1424+ # The default pattern value allows any object factory class defined in the java.naming module
1425+ # to be specified by the reference instance, but rejects any other.
1426+ #jdk.jndi.ldap.object.factoriesFilter=java.naming/com.sun.jndi.ldap.**;!*
1427+
1428+ #
1429+ # Protocol Specific JNDI/RMI Object Factories Filter
1430+ #
1431+ # This filter is used by the JNDI/RMI provider implementation in the JDK to further control the
1432+ # set of object factory classes which will be allowed to instantiate objects from object
1433+ # references bound to RMI names. The factory class named by the reference instance will
1434+ # be matched against this filter. The filter property supports pattern-based filter syntax
1435+ # with the same format as jdk.serialFilter. Limit patterns specified in the filter property
1436+ # are unused.
1437+ #
1438+ # Each class name pattern is matched against the factory class name to allow or disallow its
1439+ # instantiation. The access to a factory class is allowed only when it is not rejected by this filter
1440+ # or by the global filter defined by "jdk.jndi.object.factoriesFilter", and at least one of these
1441+ # two filters returns ALLOWED.
1442+ #
1443+ # Note: This property is currently used by the JDK Reference implementation.
1444+ # It is not guaranteed to be examined and used by other implementations.
1445+ #
1446+ # If the system property jdk.jndi.rmi.object.factoriesFilter is also specified, it supersedes
1447+ # the security property value defined here. The default value of the property is
1448+ # "jdk.naming.rmi/com.sun.jndi.rmi.**;!*".
1449+ #
1450+ # The default pattern value allows any object factory class defined in the jdk.naming.rmi module
1451+ # to be specified by the reference instance, but rejects any other.
1452+ #jdk.jndi.rmi.object.factoriesFilter=jdk.naming.rmi/com.sun.jndi.rmi.**;!*
1453+
14011454#
14021455# Policy for non-forwardable service ticket in a S4U2proxy request
14031456#
0 commit comments