@@ -1372,17 +1372,18 @@ jdk.io.permissionsUseCanonicalPath=false
1372
1372
jdk.tls.alpnCharset=ISO_8859_1
1373
1373
1374
1374
#
1375
- # JNDI Object Factories Filter
1375
+ # Global JNDI Object Factories Filter
1376
1376
#
1377
1377
# This filter is used by the JNDI runtime to control the set of object factory classes
1378
1378
# which will be allowed to instantiate objects from object references returned by
1379
1379
# naming/directory systems. The factory class named by the reference instance will be
1380
1380
# 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.
1382
1383
#
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 .
1386
1387
#
1387
1388
# Note: This property is currently used by the JDK Reference implementation.
1388
1389
# It is not guaranteed to be examined and used by other implementations.
@@ -1393,3 +1394,55 @@ jdk.tls.alpnCharset=ISO_8859_1
1393
1394
# The default pattern value allows any object factory class specified by the reference
1394
1395
# instance to recreate the referenced object.
1395
1396
#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