@@ -1376,17 +1376,18 @@ jdk.io.permissionsUseCanonicalPath=false
1376
1376
jdk.tls.alpnCharset=ISO_8859_1
1377
1377
1378
1378
#
1379
- # JNDI Object Factories Filter
1379
+ # Global JNDI Object Factories Filter
1380
1380
#
1381
1381
# This filter is used by the JNDI runtime to control the set of object factory classes
1382
1382
# which will be allowed to instantiate objects from object references returned by
1383
1383
# naming/directory systems. The factory class named by the reference instance will be
1384
1384
# 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.
1386
1387
#
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 .
1390
1391
#
1391
1392
# Note: This property is currently used by the JDK Reference implementation.
1392
1393
# It is not guaranteed to be examined and used by other implementations.
@@ -1398,6 +1399,58 @@ jdk.tls.alpnCharset=ISO_8859_1
1398
1399
# instance to recreate the referenced object.
1399
1400
#jdk.jndi.object.factoriesFilter=*
1400
1401
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
+
1401
1454
#
1402
1455
# Policy for non-forwardable service ticket in a S4U2proxy request
1403
1456
#
0 commit comments