JDK-7133344 : Document the java.security.properties system property feature in the java.security file
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-01-25
  • Updated: 2012-09-05
  • Resolved: 2012-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b47Fixed
Related Reports
Relates :  
Relates :  
Description
We never fully documented the feature that allows a user to specify an alternate java.security file, and that feature can be quite useful. See CR 4303068 for more information. It is mentioned briefly but incompletely in the comment for the security.overridePropertiesFile property in the java.security file. An ideal place to document this is at the top of the java.security file itself.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/d375ea39ce9c
14-08-2012

EVALUATION Documentation added to: java.security java.security-macosx java.security-solaris java.security-windows *** (#1 of 1): [ UNSAVED ] ###@###.###
03-07-2012

SUGGESTED FIX Add the following text to the src/share/lib/java.security file: An alternate java.security properties file may be specified from the command line via the system property, java.security.properties=<URL>. This properties file appends to the system properties file. If both properties files specify values for the same key, the value from command-line properties file is selected, as it is the last one loaded. Also, if you specify java.security.properties==<URL> (2 equals), then that properties file completely overrides the system properties file. To disable the ability to specify an additional properties file from the command line, set the key security.overridePropertiesFile to false in the system properties file. It is set to true by default.
25-01-2012