jdk/src/share/lib/security/java.security-macosx

Print this page
rev 5726 : 8006864: Update java.security-linux to include changes in java.security
Reviewed-by: mullan, mchung


 107 # with -Djava.security.policy=somefile. Comment out this line to disable
 108 # this feature.
 109 policy.allowSystemProperty=true
 110 
 111 # whether or not we look into the IdentityScope for trusted Identities
 112 # when encountering a 1.1 signed JAR file. If the identity is found
 113 # and is trusted, we grant it AllPermission.
 114 policy.ignoreIdentityScope=false
 115 
 116 #
 117 # Default keystore type.
 118 #
 119 keystore.type=jks
 120 
 121 #
 122 # List of comma-separated packages that start with or equal this string
 123 # will cause a security exception to be thrown when
 124 # passed to checkPackageAccess unless the
 125 # corresponding RuntimePermission ("accessClassInPackage."+package) has
 126 # been granted.
 127 package.access=sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,oracle.jrockit.jfr.













 128 
 129 #
 130 # List of comma-separated packages that start with or equal this string
 131 # will cause a security exception to be thrown when
 132 # passed to checkPackageDefinition unless the
 133 # corresponding RuntimePermission ("defineClassInPackage."+package) has
 134 # been granted.
 135 #
 136 # by default, none of the class loaders supplied with the JDK call
 137 # checkPackageDefinition.
 138 #
 139 package.definition=sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,oracle.jrockit.jfr.













 140 
 141 #
 142 # Determines whether this properties file can be appended to
 143 # or overridden on the command line via -Djava.security.properties
 144 #
 145 security.overridePropertiesFile=true
 146 
 147 #
 148 # Determines the default key and trust manager factory algorithms for
 149 # the javax.net.ssl package.
 150 #
 151 ssl.KeyManagerFactory.algorithm=SunX509
 152 ssl.TrustManagerFactory.algorithm=PKIX
 153 
 154 #
 155 # The Java-level namelookup cache policy for successful lookups:
 156 #
 157 # any negative value: caching forever
 158 # any positive value: the number of seconds to cache an address for
 159 # zero: do not cache




 107 # with -Djava.security.policy=somefile. Comment out this line to disable
 108 # this feature.
 109 policy.allowSystemProperty=true
 110 
 111 # whether or not we look into the IdentityScope for trusted Identities
 112 # when encountering a 1.1 signed JAR file. If the identity is found
 113 # and is trusted, we grant it AllPermission.
 114 policy.ignoreIdentityScope=false
 115 
 116 #
 117 # Default keystore type.
 118 #
 119 keystore.type=jks
 120 
 121 #
 122 # List of comma-separated packages that start with or equal this string
 123 # will cause a security exception to be thrown when
 124 # passed to checkPackageAccess unless the
 125 # corresponding RuntimePermission ("accessClassInPackage."+package) has
 126 # been granted.
 127 package.access=sun.,\
 128                com.sun.xml.internal.bind.,\
 129                com.sun.xml.internal.org.jvnet.staxex.,\
 130                com.sun.xml.internal.ws.,\
 131                com.sun.imageio.,\
 132                com.sun.istack.internal.,\
 133                com.sun.jmx.defaults.,\
 134                com.sun.jmx.remote.util.,\
 135                com.sun.org.apache.xerces.internal.utils.,\
 136                com.sun.org.apache.xalan.internal.utils.,\
 137                com.sun.org.glassfish.external.,\
 138                com.sun.org.glassfish.gmbal.,\
 139                oracle.jrockit.jfr.,\
 140                apple.
 141 
 142 #
 143 # List of comma-separated packages that start with or equal this string
 144 # will cause a security exception to be thrown when
 145 # passed to checkPackageDefinition unless the
 146 # corresponding RuntimePermission ("defineClassInPackage."+package) has
 147 # been granted.
 148 #
 149 # by default, none of the class loaders supplied with the JDK call
 150 # checkPackageDefinition.
 151 #
 152 package.definition=sun.,\
 153                    com.sun.xml.internal.bind.,\
 154                    com.sun.xml.internal.org.jvnet.staxex.,\
 155                    com.sun.xml.internal.ws.,\
 156                    com.sun.imageio.,\
 157                    com.sun.istack.internal.,\
 158                    com.sun.jmx.defaults.,\
 159                    com.sun.jmx.remote.util.,\
 160                    com.sun.org.apache.xerces.internal.utils.,\
 161                    com.sun.org.apache.xalan.internal.utils.,\
 162                    com.sun.org.glassfish.external.,\
 163                    com.sun.org.glassfish.gmbal.,\
 164                    oracle.jrockit.jfr.,\
 165                    apple.
 166 
 167 #
 168 # Determines whether this properties file can be appended to
 169 # or overridden on the command line via -Djava.security.properties
 170 #
 171 security.overridePropertiesFile=true
 172 
 173 #
 174 # Determines the default key and trust manager factory algorithms for
 175 # the javax.net.ssl package.
 176 #
 177 ssl.KeyManagerFactory.algorithm=SunX509
 178 ssl.TrustManagerFactory.algorithm=PKIX
 179 
 180 #
 181 # The Java-level namelookup cache policy for successful lookups:
 182 #
 183 # any negative value: caching forever
 184 # any positive value: the number of seconds to cache an address for
 185 # zero: do not cache