author | chegar |
Fri, 30 Aug 2013 09:38:23 +0100 | |
changeset 22305 | a3308d25c711 |
parent 19385 | a7b34a4b1fcb |
parent 22300 | d669110735f4 |
child 22308 | 8c0fcd365efc |
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 |
# |
19385
a7b34a4b1fcb
8016848: javax_security/auth/login tests fail in compact 1 and 2 profiles
mullan
parents:
18828
diff
changeset
|
135 |
login.configuration.provider=sun.security.provider.ConfigFile |
14758
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.,\ |
22300 | 184 |
com.sun.naming.internal.,\ |
16108
e5fcdadc69b2
8006882: Proxy generated classes in sun.proxy package breaks JMockit
mchung
parents:
16106
diff
changeset
|
185 |
com.sun.proxy.,\ |
16894 | 186 |
com.sun.org.apache.bcel.internal.,\ |
187 |
com.sun.org.apache.regexp.internal.,\ |
|
188 |
com.sun.org.apache.xerces.internal.,\ |
|
189 |
com.sun.org.apache.xpath.internal.,\ |
|
190 |
com.sun.org.apache.xalan.internal.extensions.,\ |
|
191 |
com.sun.org.apache.xalan.internal.lib.,\ |
|
192 |
com.sun.org.apache.xalan.internal.res.,\ |
|
193 |
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
|
194 |
com.sun.org.apache.xalan.internal.utils.,\ |
16894 | 195 |
com.sun.org.apache.xalan.internal.xslt.,\ |
196 |
com.sun.org.apache.xalan.internal.xsltc.cmdline.,\ |
|
197 |
com.sun.org.apache.xalan.internal.xsltc.compiler.,\ |
|
198 |
com.sun.org.apache.xalan.internal.xsltc.trax.,\ |
|
199 |
com.sun.org.apache.xalan.internal.xsltc.util.,\ |
|
200 |
com.sun.org.apache.xml.internal.res.,\ |
|
18240 | 201 |
com.sun.org.apache.xml.internal.security.,\ |
16894 | 202 |
com.sun.org.apache.xml.internal.serializer.utils.,\ |
203 |
com.sun.org.apache.xml.internal.utils.,\ |
|
16893 | 204 |
com.sun.org.glassfish.,\ |
16744 | 205 |
com.oracle.xmlns.internal.,\ |
206 |
com.oracle.webservices.internal.,\ |
|
18030 | 207 |
oracle.jrockit.jfr.,\ |
18240 | 208 |
org.jcp.xml.dsig.internal.,\ |
16901 | 209 |
jdk.internal.,\ |
210 |
jdk.nashorn.internal.,\ |
|
211 |
jdk.nashorn.tools. |
|
212 |
||
14758
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 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
215 |
# 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
|
216 |
# 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
|
217 |
# passed to checkPackageDefinition unless the |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
218 |
# corresponding RuntimePermission ("defineClassInPackage."+package) has |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
219 |
# been granted. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
220 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
221 |
# 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
|
222 |
# checkPackageDefinition. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
223 |
# |
16106
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
224 |
package.definition=sun.,\ |
16895 | 225 |
com.sun.xml.internal.,\ |
16106
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
226 |
com.sun.imageio.,\ |
8d062d0a26d7
8006864: Update java.security-linux to include changes in java.security
ewendeli
parents:
14929
diff
changeset
|
227 |
com.sun.istack.internal.,\ |
16109 | 228 |
com.sun.jmx.,\ |
22300 | 229 |
com.sun.naming.internal.,\ |
16108
e5fcdadc69b2
8006882: Proxy generated classes in sun.proxy package breaks JMockit
mchung
parents:
16106
diff
changeset
|
230 |
com.sun.proxy.,\ |
16894 | 231 |
com.sun.org.apache.bcel.internal.,\ |
232 |
com.sun.org.apache.regexp.internal.,\ |
|
233 |
com.sun.org.apache.xerces.internal.,\ |
|
234 |
com.sun.org.apache.xpath.internal.,\ |
|
235 |
com.sun.org.apache.xalan.internal.extensions.,\ |
|
236 |
com.sun.org.apache.xalan.internal.lib.,\ |
|
237 |
com.sun.org.apache.xalan.internal.res.,\ |
|
238 |
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
|
239 |
com.sun.org.apache.xalan.internal.utils.,\ |
16894 | 240 |
com.sun.org.apache.xalan.internal.xslt.,\ |
241 |
com.sun.org.apache.xalan.internal.xsltc.cmdline.,\ |
|
242 |
com.sun.org.apache.xalan.internal.xsltc.compiler.,\ |
|
243 |
com.sun.org.apache.xalan.internal.xsltc.trax.,\ |
|
244 |
com.sun.org.apache.xalan.internal.xsltc.util.,\ |
|
245 |
com.sun.org.apache.xml.internal.res.,\ |
|
18240 | 246 |
com.sun.org.apache.xml.internal.security.,\ |
16894 | 247 |
com.sun.org.apache.xml.internal.serializer.utils.,\ |
248 |
com.sun.org.apache.xml.internal.utils.,\ |
|
16893 | 249 |
com.sun.org.glassfish.,\ |
16744 | 250 |
com.oracle.xmlns.internal.,\ |
251 |
com.oracle.webservices.internal.,\ |
|
18030 | 252 |
oracle.jrockit.jfr.,\ |
18240 | 253 |
org.jcp.xml.dsig.internal.,\ |
16901 | 254 |
jdk.internal.,\ |
255 |
jdk.nashorn.internal.,\ |
|
256 |
jdk.nashorn.tools. |
|
257 |
||
14758
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
258 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
259 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
260 |
# 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
|
261 |
# 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
|
262 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
263 |
security.overridePropertiesFile=true |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
264 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
265 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
266 |
# 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
|
267 |
# the javax.net.ssl package. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
268 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
269 |
ssl.KeyManagerFactory.algorithm=SunX509 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
270 |
ssl.TrustManagerFactory.algorithm=PKIX |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
271 |
|
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 |
# 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
|
274 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
275 |
# any negative value: caching forever |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
276 |
# 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
|
277 |
# zero: do not cache |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
278 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
279 |
# 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
|
280 |
# 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
|
281 |
# 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
|
282 |
# is to cache for 30 seconds. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
283 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
284 |
# 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
|
285 |
# 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
|
286 |
# 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
|
287 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
288 |
#networkaddress.cache.ttl=-1 |
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 |
# 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
|
291 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
292 |
# any negative value: cache forever |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
293 |
# 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
|
294 |
# zero: do not cache |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
295 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
296 |
# 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
|
297 |
# 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
|
298 |
# 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
|
299 |
# 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
|
300 |
# results for 10 seconds. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
301 |
# |
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 |
networkaddress.cache.negative.ttl=10 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
304 |
|
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 |
# 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
|
307 |
# |
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 |
# Enable OCSP |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
310 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
311 |
# 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
|
312 |
# 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
|
313 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
314 |
# 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
|
315 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
316 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
317 |
# ocsp.enable=true |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
318 |
|
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 |
# Location of the OCSP responder |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
321 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
322 |
# 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
|
323 |
# 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
|
324 |
# 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
|
325 |
# 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
|
326 |
# 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
|
327 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
328 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
329 |
# ocsp.responderURL=http://ocsp.example.net:80 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
330 |
|
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 |
# 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
|
333 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
334 |
# 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
|
335 |
# 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
|
336 |
# 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
|
337 |
# 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
|
338 |
# 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
|
339 |
# 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
|
340 |
# then both the "ocsp.responderCertIssuerName" and |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
341 |
# "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
|
342 |
# 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
|
343 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
344 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
345 |
# 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
|
346 |
|
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 |
# 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
|
349 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
350 |
# 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
|
351 |
# 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
|
352 |
# 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
|
353 |
# 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
|
354 |
# 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
|
355 |
# 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
|
356 |
# 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
|
357 |
# property is ignored. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
358 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
359 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
360 |
# 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
|
361 |
|
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 |
# 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
|
364 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
365 |
# 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
|
366 |
# 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
|
367 |
# 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
|
368 |
# 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
|
369 |
# 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
|
370 |
# 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
|
371 |
# 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
|
372 |
# is set then this property is ignored. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
373 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
374 |
# Example, |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
375 |
# ocsp.responderCertSerialNumber=2A:FF:00 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
376 |
|
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 |
# Policy for failed Kerberos KDC lookups: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
379 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
380 |
# 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
|
381 |
# 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
|
382 |
# 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
|
383 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
384 |
# tryLast |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
385 |
# 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
|
386 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
387 |
# tryLess[:max_retries,timeout] |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
388 |
# 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
|
389 |
# 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
|
390 |
# 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
|
391 |
# 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
|
392 |
# 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
|
393 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
394 |
# 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
|
395 |
# 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
|
396 |
# 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
|
397 |
# reloaded whenever a JAAS authentication is attempted. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
398 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
399 |
# Example, |
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 |
# krb5.kdc.bad.policy = tryLess:2,2000 |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
402 |
krb5.kdc.bad.policy = tryLast |
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 |
# Algorithm restrictions for certification path (CertPath) processing |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
405 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
406 |
# 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
|
407 |
# 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
|
408 |
# 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
|
409 |
# 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
|
410 |
# 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
|
411 |
# 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
|
412 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
413 |
# 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
|
414 |
# BNF-style: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
415 |
# DisabledAlgorithms: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
416 |
# " DisabledAlgorithm { , DisabledAlgorithm } " |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
417 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
418 |
# DisabledAlgorithm: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
419 |
# AlgorithmName [Constraint] |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
420 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
421 |
# AlgorithmName: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
422 |
# (see below) |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
423 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
424 |
# Constraint: |
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 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
427 |
# KeySizeConstraint: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
428 |
# keySize Operator DecimalInteger |
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 |
# Operator: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
431 |
# <= | < | == | != | >= | > |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
432 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
433 |
# DecimalInteger: |
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 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
436 |
# DecimalDigits: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
437 |
# DecimalDigit {DecimalDigit} |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
438 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
439 |
# DecimalDigit: one of |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
440 |
# 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
|
441 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
442 |
# 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
|
443 |
# 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
|
444 |
# 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
|
445 |
# 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
|
446 |
# 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
|
447 |
# "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
|
448 |
# 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
|
449 |
# 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
|
450 |
# 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
|
451 |
# 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
|
452 |
# will not disable algorithms related to "ECDSA". |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
453 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
454 |
# 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
|
455 |
# 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
|
456 |
# "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
|
457 |
# 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
|
458 |
# 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
|
459 |
# 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
|
460 |
# 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
|
461 |
# 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
|
462 |
# algorithms. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
463 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
464 |
# 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
|
465 |
# 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
|
466 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
467 |
# Example: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
468 |
# 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
|
469 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
470 |
# |
14929
59377f4b9919
7109274: Restrict the use of certificates with RSA keys less than 1024 bits
xuelei
parents:
14758
diff
changeset
|
471 |
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
|
472 |
|
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
473 |
# 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
|
474 |
# (SSL/TLS) processing |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
475 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
476 |
# 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
|
477 |
# 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
|
478 |
# 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
|
479 |
# 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
|
480 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
481 |
# 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
|
482 |
# 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
|
483 |
# 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
|
484 |
# 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
|
485 |
# 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
|
486 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
487 |
# 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
|
488 |
# syntax of the disabled algorithm string. |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
489 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
490 |
# 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
|
491 |
# 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
|
492 |
# |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
493 |
# Example: |
d6b75b5d550e
8004188: Rename src/share/lib/security/java.security to java.security-linux
mullan
parents:
diff
changeset
|
494 |
# 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
|
495 |