949 # |
949 # |
950 # RMI Registry Serial Filter |
950 # RMI Registry Serial Filter |
951 # |
951 # |
952 # The filter pattern uses the same format as jdk.serialFilter. |
952 # The filter pattern uses the same format as jdk.serialFilter. |
953 # This filter can override the builtin filter if additional types need to be |
953 # This filter can override the builtin filter if additional types need to be |
954 # allowed or rejected from the RMI Registry. |
954 # allowed or rejected from the RMI Registry or to decrease limits but not |
|
955 # to increase limits. |
|
956 # If the limits (maxdepth, maxrefs, or maxbytes) are exceeded, the object is rejected. |
|
957 # |
|
958 # Each non-array type is allowed or rejected if it matches one of the patterns, |
|
959 # evaluated from left to right, and is otherwise allowed. Arrays of any |
|
960 # component type, including subarrays and arrays of primitives, are allowed. |
|
961 # |
|
962 # Array construction of any component type, including subarrays and arrays of |
|
963 # primitives, are allowed unless the length is greater than the maxarray limit. |
|
964 # The filter is applied to each array element. |
955 # |
965 # |
956 # Note: This property is currently used by the JDK Reference implementation. |
966 # Note: This property is currently used by the JDK Reference implementation. |
957 # It is not guaranteed to be examined and used by other implementations. |
967 # It is not guaranteed to be examined and used by other implementations. |
958 # |
968 # |
959 #sun.rmi.registry.registryFilter=pattern;pattern |
969 # The built-in filter allows subclasses of allowed classes and |
|
970 # can approximately be represented as the pattern: |
|
971 # |
|
972 #sun.rmi.registry.registryFilter=\ |
|
973 # maxarray=1000000;\ |
|
974 # maxdepth=20;\ |
|
975 # java.lang.String;\ |
|
976 # java.lang.Number;\ |
|
977 # java.lang.reflect.Proxy;\ |
|
978 # java.rmi.Remote;\ |
|
979 # sun.rmi.server.UnicastRef;\ |
|
980 # sun.rmi.server.RMIClientSocketFactory;\ |
|
981 # sun.rmi.server.RMIServerSocketFactory;\ |
|
982 # java.rmi.activation.ActivationID;\ |
|
983 # java.rmi.server.UID |
960 # |
984 # |
961 # RMI Distributed Garbage Collector (DGC) Serial Filter |
985 # RMI Distributed Garbage Collector (DGC) Serial Filter |
962 # |
986 # |
963 # The filter pattern uses the same format as jdk.serialFilter. |
987 # The filter pattern uses the same format as jdk.serialFilter. |
964 # This filter can override the builtin filter if additional types need to be |
988 # This filter can override the builtin filter if additional types need to be |