comparison src/share/lib/security/java.security-linux @ 12938:ce62cccc3b7f

8185346: Relax RMI Registry Serial Filter to allow arrays of any type Summary: Registry filter should allow arrays of any type Reviewed-by: rriggs, coffeys
author rpatil
date Wed, 23 Aug 2017 12:09:58 +0300
parents bfd67d7c7d41
children dbfae30a1a73
comparison
equal deleted inserted replaced
75:216449067110 98:798efeca10d4
887 # 887 #
888 # RMI Registry Serial Filter 888 # RMI Registry Serial Filter
889 # 889 #
890 # The filter pattern uses the same format as jdk.serialFilter. 890 # The filter pattern uses the same format as jdk.serialFilter.
891 # This filter can override the builtin filter if additional types need to be 891 # This filter can override the builtin filter if additional types need to be
892 # allowed or rejected from the RMI Registry. 892 # allowed or rejected from the RMI Registry or to decrease limits but not
893 # 893 # to increase limits.
894 #sun.rmi.registry.registryFilter=pattern;pattern 894 # If the limits (maxdepth, maxrefs, or maxbytes) are exceeded, the object is rejected.
895 895 #
896 # Each non-array type is allowed or rejected if it matches one of the patterns,
897 # evaluated from left to right, and is otherwise allowed. Arrays of any
898 # component type, including subarrays and arrays of primitives, are allowed.
899 #
900 # Array construction of any component type, including subarrays and arrays of
901 # primitives, are allowed unless the length is greater than the maxarray limit.
902 # The filter is applied to each array element.
903 #
904 # The built-in filter allows subclasses of allowed classes and
905 # can approximately be represented as the pattern:
906 #
907 #sun.rmi.registry.registryFilter=\
908 # maxarray=1000000;\
909 # maxdepth=20;\
910 # java.lang.String;\
911 # java.lang.Number;\
912 # java.lang.reflect.Proxy;\
913 # java.rmi.Remote;\
914 # sun.rmi.server.UnicastRef;\
915 # sun.rmi.server.RMIClientSocketFactory;\
916 # sun.rmi.server.RMIServerSocketFactory;\
917 # java.rmi.activation.ActivationID;\
918 # java.rmi.server.UID
896 # 919 #
897 # RMI Distributed Garbage Collector (DGC) Serial Filter 920 # RMI Distributed Garbage Collector (DGC) Serial Filter
898 # 921 #
899 # The filter pattern uses the same format as jdk.serialFilter. 922 # The filter pattern uses the same format as jdk.serialFilter.
900 # This filter can override the builtin filter if additional types need to be 923 # This filter can override the builtin filter if additional types need to be