author | lana |
Tue, 13 Aug 2013 18:34:06 -0700 | |
changeset 19494 | 684292d0e03a |
parent 18828 | f3678823f231 |
child 19385 | a7b34a4b1fcb |
child 22300 | d669110735f4 |
permissions | -rw-r--r-- |
14758
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
1 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
2 |
# This is the "master security properties file". |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
3 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
4 |
# An alternate java.security properties file may be specified |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
5 |
# from the command line via the system property |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
6 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
7 |
# -Djava.security.properties=<URL> |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
8 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
9 |
# This properties file appends to the master security properties file. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
10 |
# If both properties files specify values for the same key, the value |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
11 |
# from the command-line properties file is selected, as it is the last |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
12 |
# one loaded. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
13 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
14 |
# Also, if you specify |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
15 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
16 |
# -Djava.security.properties==<URL> (2 equals), |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
17 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
18 |
# then that properties file completely overrides the master security |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
19 |
# properties file. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
20 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
21 |
# To disable the ability to specify an additional properties file from |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
22 |
# the command line, set the key security.overridePropertiesFile |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
23 |
# to false in the master security properties file. It is set to true |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
24 |
# by default. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
25 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
26 |
# In this file, various security properties are set for use by |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
27 |
# java.security classes. This is where users can statically register |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
28 |
# Cryptography Package Providers ("providers" for short). The term |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
29 |
# "provider" refers to a package or set of packages that supply a |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
30 |
# concrete implementation of a subset of the cryptography aspects of |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
31 |
# the Java Security API. A provider may, for example, implement one or |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
32 |
# more digital signature algorithms or message digest algorithms. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
33 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
34 |
# Each provider must implement a subclass of the Provider class. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
35 |
# To register a provider in this master security properties file, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
36 |
# specify the Provider subclass name and priority in the format |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
37 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
38 |
# security.provider.<n>=<className> |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
39 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
40 |
# This declares a provider, and specifies its preference |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
41 |
# order n. The preference order is the order in which providers are |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
42 |
# searched for requested algorithms (when no specific provider is |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
43 |
# requested). The order is 1-based; 1 is the most preferred, followed |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
44 |
# by 2, and so on. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
45 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
46 |
# <className> must specify the subclass of the Provider class whose |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
47 |
# constructor sets the values of various properties that are required |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
48 |
# for the Java Security API to look up the algorithms or other |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
49 |
# facilities implemented by the provider. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
50 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
51 |
# There must be at least one provider specification in java.security. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
52 |
# There is a default provider that comes standard with the JDK. It |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
53 |
# is called the "SUN" provider, and its Provider subclass |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
54 |
# named Sun appears in the sun.security.provider package. Thus, the |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
55 |
# "SUN" provider is registered via the following: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
56 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
57 |
# security.provider.1=sun.security.provider.Sun |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
58 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
59 |
# (The number 1 is used for the default provider.) |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
60 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
61 |
# Note: Providers can be dynamically registered instead by calls to |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
62 |
# either the addProvider or insertProviderAt method in the Security |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
63 |
# class. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
64 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
65 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
66 |
# List of providers and their preference orders (see above): |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
67 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
68 |
security.provider.1=sun.security.provider.Sun |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
69 |
security.provider.2=sun.security.rsa.SunRsaSign |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
70 |
security.provider.3=sun.security.ec.SunEC |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
71 |
security.provider.4=com.sun.net.ssl.internal.ssl.Provider |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
72 |
security.provider.5=com.sun.crypto.provider.SunJCE |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
73 |
security.provider.6=sun.security.jgss.SunProvider |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
74 |
security.provider.7=com.sun.security.sasl.Provider |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
75 |
security.provider.8=org.jcp.xml.dsig.internal.dom.XMLDSigRI |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
76 |
security.provider.9=sun.security.smartcardio.SunPCSC |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
77 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
78 |
# |
16915
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
79 |
# Sun Provider SecureRandom seed source. |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
80 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
81 |
# Select the primary source of seed data for the "SHA1PRNG" and |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
82 |
# "NativePRNG" SecureRandom implementations in the "Sun" provider. |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
83 |
# (Other SecureRandom implementations might also use this property.) |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
84 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
85 |
# On Unix-like systems (for example, Solaris/Linux/MacOS), the |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
86 |
# "NativePRNG" and "SHA1PRNG" implementations obtains seed data from |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
87 |
# special device files such as file:/dev/random. |
14758
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
88 |
# |
16915
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
89 |
# On Windows systems, specifying the URLs "file:/dev/random" or |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
90 |
# "file:/dev/urandom" will enable the native Microsoft CryptoAPI seeding |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
91 |
# mechanism for SHA1PRNG. |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
92 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
93 |
# By default, an attempt is made to use the entropy gathering device |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
94 |
# specified by the "securerandom.source" Security property. If an |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
95 |
# exception occurs while accessing the specified URL: |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
96 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
97 |
# SHA1PRNG: |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
98 |
# the traditional system/thread activity algorithm will be used. |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
99 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
100 |
# NativePRNG: |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
101 |
# a default value of /dev/random will be used. If neither |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
102 |
# are available, the implementation will be disabled. |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
103 |
# "file" is the only currently supported protocol type. |
14758
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
104 |
# |
16915
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
105 |
# The entropy gathering device can also be specified with the System |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
106 |
# property "java.security.egd". For example: |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
107 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
108 |
# % java -Djava.security.egd=file:/dev/random MainClass |
14758
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
109 |
# |
16915
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
110 |
# Specifying this System property will override the |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
111 |
# "securerandom.source" Security property. |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
112 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
113 |
# In addition, if "file:/dev/random" or "file:/dev/urandom" is |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
114 |
# specified, the "NativePRNG" implementation will be more preferred than |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
115 |
# SHA1PRNG in the Sun provider. |
14758
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
116 |
# |
16915
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
117 |
securerandom.source=file:/dev/random |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
118 |
|
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
119 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
120 |
# A list of known strong SecureRandom implementations. |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
121 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
122 |
# To help guide applications in selecting a suitable strong |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
123 |
# java.security.SecureRandom implementation, Java distributions should |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
124 |
# indicate a list of known strong implementations using the property. |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
125 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
126 |
# This is a comma-separated list of algorithm and/or algorithm:provider |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
127 |
# entries. |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
128 |
# |
675d1569af3e
6425477: Better support for generation of high entropy random numbers
wetmore
parents:
16744
diff
changeset
|
129 |
securerandom.strongAlgorithms=NativePRNGBlocking:SUN |
14758
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
130 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
131 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
132 |
# Class to instantiate as the javax.security.auth.login.Configuration |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
133 |
# provider. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
134 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
135 |
login.configuration.provider=com.sun.security.auth.login.ConfigFile |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
136 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
137 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
138 |
# Default login configuration file |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
139 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
140 |
#login.config.url.1=file:${user.home}/.java.login.config |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
141 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
142 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
143 |
# Class to instantiate as the system Policy. This is the name of the class |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
144 |
# that will be used as the Policy object. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
145 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
146 |
policy.provider=sun.security.provider.PolicyFile |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
147 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
148 |
# The default is to have a single system-wide policy file, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
149 |
# and a policy file in the user's home directory. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
150 |
policy.url.1=file:${java.home}/lib/security/java.policy |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
151 |
policy.url.2=file:${user.home}/.java.policy |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
152 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
153 |
# whether or not we expand properties in the policy file |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
154 |
# if this is set to false, properties (${...}) will not be expanded in policy |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
155 |
# files. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
156 |
policy.expandProperties=true |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
157 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
158 |
# whether or not we allow an extra policy to be passed on the command line |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
159 |
# with -Djava.security.policy=somefile. Comment out this line to disable |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
160 |
# this feature. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
161 |
policy.allowSystemProperty=true |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
162 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
163 |
# whether or not we look into the IdentityScope for trusted Identities |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
164 |
# when encountering a 1.1 signed JAR file. If the identity is found |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
165 |
# and is trusted, we grant it AllPermission. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
166 |
policy.ignoreIdentityScope=false |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
167 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
168 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
169 |
# Default keystore type. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
170 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
171 |
keystore.type=jks |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
172 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
173 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
174 |
# List of comma-separated packages that start with or equal this string |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
175 |
# will cause a security exception to be thrown when |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
176 |
# passed to checkPackageAccess unless the |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
177 |
# corresponding RuntimePermission ("accessClassInPackage."+package) has |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
178 |
# been granted. |
16106
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
179 |
package.access=sun.,\ |
16895 | 180 |
com.sun.xml.internal.,\ |
16106
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
181 |
com.sun.imageio.,\ |
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
182 |
com.sun.istack.internal.,\ |
16109 | 183 |
com.sun.jmx.,\ |
16108
e5fcdadc69b2
8006882: Proxy generated classes in sun.proxy package breaks JMockit
mchung
parents:
16106
diff
changeset
|
184 |
com.sun.proxy.,\ |
16894 | 185 |
com.sun.org.apache.bcel.internal.,\ |
186 |
com.sun.org.apache.regexp.internal.,\ |
|
187 |
com.sun.org.apache.xerces.internal.,\ |
|
188 |
com.sun.org.apache.xpath.internal.,\ |
|
189 |
com.sun.org.apache.xalan.internal.extensions.,\ |
|
190 |
com.sun.org.apache.xalan.internal.lib.,\ |
|
191 |
com.sun.org.apache.xalan.internal.res.,\ |
|
192 |
com.sun.org.apache.xalan.internal.templates.,\ |
|
16106
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
193 |
com.sun.org.apache.xalan.internal.utils.,\ |
16894 | 194 |
com.sun.org.apache.xalan.internal.xslt.,\ |
195 |
com.sun.org.apache.xalan.internal.xsltc.cmdline.,\ |
|
196 |
com.sun.org.apache.xalan.internal.xsltc.compiler.,\ |
|
197 |
com.sun.org.apache.xalan.internal.xsltc.trax.,\ |
|
198 |
com.sun.org.apache.xalan.internal.xsltc.util.,\ |
|
199 |
com.sun.org.apache.xml.internal.res.,\ |
|
18240 | 200 |
com.sun.org.apache.xml.internal.security.,\ |
16894 | 201 |
com.sun.org.apache.xml.internal.serializer.utils.,\ |
202 |
com.sun.org.apache.xml.internal.utils.,\ |
|
16893 | 203 |
com.sun.org.glassfish.,\ |
16744 | 204 |
com.oracle.xmlns.internal.,\ |
205 |
com.oracle.webservices.internal.,\ |
|
18030 | 206 |
oracle.jrockit.jfr.,\ |
18240 | 207 |
org.jcp.xml.dsig.internal.,\ |
16901 | 208 |
jdk.internal.,\ |
209 |
jdk.nashorn.internal.,\ |
|
210 |
jdk.nashorn.tools. |
|
211 |
||
14758
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
212 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
213 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
214 |
# List of comma-separated packages that start with or equal this string |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
215 |
# will cause a security exception to be thrown when |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
216 |
# passed to checkPackageDefinition unless the |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
217 |
# corresponding RuntimePermission ("defineClassInPackage."+package) has |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
218 |
# been granted. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
219 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
220 |
# by default, none of the class loaders supplied with the JDK call |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
221 |
# checkPackageDefinition. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
222 |
# |
16106
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
223 |
package.definition=sun.,\ |
16895 | 224 |
com.sun.xml.internal.,\ |
16106
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
225 |
com.sun.imageio.,\ |
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
226 |
com.sun.istack.internal.,\ |
16109 | 227 |
com.sun.jmx.,\ |
16108
e5fcdadc69b2
8006882: Proxy generated classes in sun.proxy package breaks JMockit
mchung
parents:
16106
diff
changeset
|
228 |
com.sun.proxy.,\ |
16894 | 229 |
com.sun.org.apache.bcel.internal.,\ |
230 |
com.sun.org.apache.regexp.internal.,\ |
|
231 |
com.sun.org.apache.xerces.internal.,\ |
|
232 |
com.sun.org.apache.xpath.internal.,\ |
|
233 |
com.sun.org.apache.xalan.internal.extensions.,\ |
|
234 |
com.sun.org.apache.xalan.internal.lib.,\ |
|
235 |
com.sun.org.apache.xalan.internal.res.,\ |
|
236 |
com.sun.org.apache.xalan.internal.templates.,\ |
|
16106
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
237 |
com.sun.org.apache.xalan.internal.utils.,\ |
16894 | 238 |
com.sun.org.apache.xalan.internal.xslt.,\ |
239 |
com.sun.org.apache.xalan.internal.xsltc.cmdline.,\ |
|
240 |
com.sun.org.apache.xalan.internal.xsltc.compiler.,\ |
|
241 |
com.sun.org.apache.xalan.internal.xsltc.trax.,\ |
|
242 |
com.sun.org.apache.xalan.internal.xsltc.util.,\ |
|
243 |
com.sun.org.apache.xml.internal.res.,\ |
|
18240 | 244 |
com.sun.org.apache.xml.internal.security.,\ |
16894 | 245 |
com.sun.org.apache.xml.internal.serializer.utils.,\ |
246 |
com.sun.org.apache.xml.internal.utils.,\ |
|
16893 | 247 |
com.sun.org.glassfish.,\ |
16744 | 248 |
com.oracle.xmlns.internal.,\ |
249 |
com.oracle.webservices.internal.,\ |
|
18030 | 250 |
oracle.jrockit.jfr.,\ |
18240 | 251 |
org.jcp.xml.dsig.internal.,\ |
16901 | 252 |
jdk.internal.,\ |
253 |
jdk.nashorn.internal.,\ |
|
254 |
jdk.nashorn.tools. |
|
255 |
||
14758
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
256 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
257 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
258 |
# Determines whether this properties file can be appended to |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
259 |
# or overridden on the command line via -Djava.security.properties |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
260 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
261 |
security.overridePropertiesFile=true |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
262 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
263 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
264 |
# Determines the default key and trust manager factory algorithms for |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
265 |
# the javax.net.ssl package. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
266 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
267 |
ssl.KeyManagerFactory.algorithm=SunX509 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
268 |
ssl.TrustManagerFactory.algorithm=PKIX |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
269 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
270 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
271 |
# The Java-level namelookup cache policy for successful lookups: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
272 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
273 |
# any negative value: caching forever |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
274 |
# any positive value: the number of seconds to cache an address for |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
275 |
# zero: do not cache |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
276 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
277 |
# default value is forever (FOREVER). For security reasons, this |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
278 |
# caching is made forever when a security manager is set. When a security |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
279 |
# manager is not set, the default behavior in this implementation |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
280 |
# is to cache for 30 seconds. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
281 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
282 |
# NOTE: setting this to anything other than the default value can have |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
283 |
# serious security implications. Do not set it unless |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
284 |
# you are sure you are not exposed to DNS spoofing attack. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
285 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
286 |
#networkaddress.cache.ttl=-1 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
287 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
288 |
# The Java-level namelookup cache policy for failed lookups: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
289 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
290 |
# any negative value: cache forever |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
291 |
# any positive value: the number of seconds to cache negative lookup results |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
292 |
# zero: do not cache |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
293 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
294 |
# In some Microsoft Windows networking environments that employ |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
295 |
# the WINS name service in addition to DNS, name service lookups |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
296 |
# that fail may take a noticeably long time to return (approx. 5 seconds). |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
297 |
# For this reason the default caching policy is to maintain these |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
298 |
# results for 10 seconds. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
299 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
300 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
301 |
networkaddress.cache.negative.ttl=10 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
302 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
303 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
304 |
# Properties to configure OCSP for certificate revocation checking |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
305 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
306 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
307 |
# Enable OCSP |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
308 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
309 |
# By default, OCSP is not used for certificate revocation checking. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
310 |
# This property enables the use of OCSP when set to the value "true". |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
311 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
312 |
# NOTE: SocketPermission is required to connect to an OCSP responder. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
313 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
314 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
315 |
# ocsp.enable=true |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
316 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
317 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
318 |
# Location of the OCSP responder |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
319 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
320 |
# By default, the location of the OCSP responder is determined implicitly |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
321 |
# from the certificate being validated. This property explicitly specifies |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
322 |
# the location of the OCSP responder. The property is used when the |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
323 |
# Authority Information Access extension (defined in RFC 3280) is absent |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
324 |
# from the certificate or when it requires overriding. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
325 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
326 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
327 |
# ocsp.responderURL=http://ocsp.example.net:80 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
328 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
329 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
330 |
# Subject name of the OCSP responder's certificate |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
331 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
332 |
# By default, the certificate of the OCSP responder is that of the issuer |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
333 |
# of the certificate being validated. This property identifies the certificate |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
334 |
# of the OCSP responder when the default does not apply. Its value is a string |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
335 |
# distinguished name (defined in RFC 2253) which identifies a certificate in |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
336 |
# the set of certificates supplied during cert path validation. In cases where |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
337 |
# the subject name alone is not sufficient to uniquely identify the certificate |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
338 |
# then both the "ocsp.responderCertIssuerName" and |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
339 |
# "ocsp.responderCertSerialNumber" properties must be used instead. When this |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
340 |
# property is set then those two properties are ignored. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
341 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
342 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
343 |
# ocsp.responderCertSubjectName="CN=OCSP Responder, O=XYZ Corp" |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
344 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
345 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
346 |
# Issuer name of the OCSP responder's certificate |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
347 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
348 |
# By default, the certificate of the OCSP responder is that of the issuer |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
349 |
# of the certificate being validated. This property identifies the certificate |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
350 |
# of the OCSP responder when the default does not apply. Its value is a string |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
351 |
# distinguished name (defined in RFC 2253) which identifies a certificate in |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
352 |
# the set of certificates supplied during cert path validation. When this |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
353 |
# property is set then the "ocsp.responderCertSerialNumber" property must also |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
354 |
# be set. When the "ocsp.responderCertSubjectName" property is set then this |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
355 |
# property is ignored. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
356 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
357 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
358 |
# ocsp.responderCertIssuerName="CN=Enterprise CA, O=XYZ Corp" |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
359 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
360 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
361 |
# Serial number of the OCSP responder's certificate |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
362 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
363 |
# By default, the certificate of the OCSP responder is that of the issuer |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
364 |
# of the certificate being validated. This property identifies the certificate |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
365 |
# of the OCSP responder when the default does not apply. Its value is a string |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
366 |
# of hexadecimal digits (colon or space separators may be present) which |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
367 |
# identifies a certificate in the set of certificates supplied during cert path |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
368 |
# validation. When this property is set then the "ocsp.responderCertIssuerName" |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
369 |
# property must also be set. When the "ocsp.responderCertSubjectName" property |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
370 |
# is set then this property is ignored. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
371 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
372 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
373 |
# ocsp.responderCertSerialNumber=2A:FF:00 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
374 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
375 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
376 |
# Policy for failed Kerberos KDC lookups: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
377 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
378 |
# When a KDC is unavailable (network error, service failure, etc), it is |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
379 |
# put inside a blacklist and accessed less often for future requests. The |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
380 |
# value (case-insensitive) for this policy can be: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
381 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
382 |
# tryLast |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
383 |
# KDCs in the blacklist are always tried after those not on the list. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
384 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
385 |
# tryLess[:max_retries,timeout] |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
386 |
# KDCs in the blacklist are still tried by their order in the configuration, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
387 |
# but with smaller max_retries and timeout values. max_retries and timeout |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
388 |
# are optional numerical parameters (default 1 and 5000, which means once |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
389 |
# and 5 seconds). Please notes that if any of the values defined here is |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
390 |
# more than what is defined in krb5.conf, it will be ignored. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
391 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
392 |
# Whenever a KDC is detected as available, it is removed from the blacklist. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
393 |
# The blacklist is reset when krb5.conf is reloaded. You can add |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
394 |
# refreshKrb5Config=true to a JAAS configuration file so that krb5.conf is |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
395 |
# reloaded whenever a JAAS authentication is attempted. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
396 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
397 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
398 |
# krb5.kdc.bad.policy = tryLast |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
399 |
# krb5.kdc.bad.policy = tryLess:2,2000 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
400 |
krb5.kdc.bad.policy = tryLast |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
401 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
402 |
# Algorithm restrictions for certification path (CertPath) processing |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
403 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
404 |
# In some environments, certain algorithms or key lengths may be undesirable |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
405 |
# for certification path building and validation. For example, "MD2" is |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
406 |
# generally no longer considered to be a secure hash algorithm. This section |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
407 |
# describes the mechanism for disabling algorithms based on algorithm name |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
408 |
# and/or key length. This includes algorithms used in certificates, as well |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
409 |
# as revocation information such as CRLs and signed OCSP Responses. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
410 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
411 |
# The syntax of the disabled algorithm string is described as this Java |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
412 |
# BNF-style: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
413 |
# DisabledAlgorithms: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
414 |
# " DisabledAlgorithm { , DisabledAlgorithm } " |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
415 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
416 |
# DisabledAlgorithm: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
417 |
# AlgorithmName [Constraint] |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
418 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
419 |
# AlgorithmName: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
420 |
# (see below) |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
421 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
422 |
# Constraint: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
423 |
# KeySizeConstraint |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
424 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
425 |
# KeySizeConstraint: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
426 |
# keySize Operator DecimalInteger |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
427 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
428 |
# Operator: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
429 |
# <= | < | == | != | >= | > |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
430 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
431 |
# DecimalInteger: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
432 |
# DecimalDigits |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
433 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
434 |
# DecimalDigits: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
435 |
# DecimalDigit {DecimalDigit} |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
436 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
437 |
# DecimalDigit: one of |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
438 |
# 1 2 3 4 5 6 7 8 9 0 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
439 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
440 |
# The "AlgorithmName" is the standard algorithm name of the disabled |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
441 |
# algorithm. See "Java Cryptography Architecture Standard Algorithm Name |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
442 |
# Documentation" for information about Standard Algorithm Names. Matching |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
443 |
# is performed using a case-insensitive sub-element matching rule. (For |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
444 |
# example, in "SHA1withECDSA" the sub-elements are "SHA1" for hashing and |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
445 |
# "ECDSA" for signatures.) If the assertion "AlgorithmName" is a |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
446 |
# sub-element of the certificate algorithm name, the algorithm will be |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
447 |
# rejected during certification path building and validation. For example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
448 |
# the assertion algorithm name "DSA" will disable all certificate algorithms |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
449 |
# that rely on DSA, such as NONEwithDSA, SHA1withDSA. However, the assertion |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
450 |
# will not disable algorithms related to "ECDSA". |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
451 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
452 |
# A "Constraint" provides further guidance for the algorithm being specified. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
453 |
# The "KeySizeConstraint" requires a key of a valid size range if the |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
454 |
# "AlgorithmName" is of a key algorithm. The "DecimalInteger" indicates the |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
455 |
# key size specified in number of bits. For example, "RSA keySize <= 1024" |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
456 |
# indicates that any RSA key with key size less than or equal to 1024 bits |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
457 |
# should be disabled, and "RSA keySize < 1024, RSA keySize > 2048" indicates |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
458 |
# that any RSA key with key size less than 1024 or greater than 2048 should |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
459 |
# be disabled. Note that the "KeySizeConstraint" only makes sense to key |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
460 |
# algorithms. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
461 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
462 |
# Note: This property is currently used by Oracle's PKIX implementation. It |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
463 |
# is not guaranteed to be examined and used by other implementations. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
464 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
465 |
# Example: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
466 |
# jdk.certpath.disabledAlgorithms=MD2, DSA, RSA keySize < 2048 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
467 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
468 |
# |
14929
59377f4b9919
7109274: Restrict the use of certificates with RSA keys less than 1024 bits
xuelei
parents:
14758
diff
changeset
|
469 |
jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024 |
14758
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
470 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
471 |
# Algorithm restrictions for Secure Socket Layer/Transport Layer Security |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
472 |
# (SSL/TLS) processing |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
473 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
474 |
# In some environments, certain algorithms or key lengths may be undesirable |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
475 |
# when using SSL/TLS. This section describes the mechanism for disabling |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
476 |
# algorithms during SSL/TLS security parameters negotiation, including cipher |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
477 |
# suites selection, peer authentication and key exchange mechanisms. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
478 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
479 |
# For PKI-based peer authentication and key exchange mechanisms, this list |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
480 |
# of disabled algorithms will also be checked during certification path |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
481 |
# building and validation, including algorithms used in certificates, as |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
482 |
# well as revocation information such as CRLs and signed OCSP Responses. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
483 |
# This is in addition to the jdk.certpath.disabledAlgorithms property above. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
484 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
485 |
# See the specification of "jdk.certpath.disabledAlgorithms" for the |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
486 |
# syntax of the disabled algorithm string. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
487 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
488 |
# Note: This property is currently used by Oracle's JSSE implementation. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
489 |
# It is not guaranteed to be examined and used by other implementations. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
490 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
491 |
# Example: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
492 |
# jdk.tls.disabledAlgorithms=MD5, SHA1, DSA, RSA keySize < 2048 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
493 |