On Wed, 1 Jul 2026 12:40:05 GMT, Sean Mullan <[email protected]> wrote:
>> This is a new jlink plugin which allows the user to specify values of >> security properties it wants to override in the >> `conf/security/java.security` configuration file in a custom runtime image. >> This enhancement, along with [the `cacerts` jlink >> plugin](https://github.com/openjdk/jdk/pull/29700) allow users to more >> easily create runtimes that address the specific security requirements of >> their applications. >> >> The command-line syntax takes two options: "props", with a file containing >> properties that the user wants to override, and "include", which adds an >> `include` statement with the specified filename to the end of the >> `conf/security/java.security` configuration file. >> >> For example: >> >> >> jlink --security-properties props=props.security:include=/tmp/test.security >> >> >> where `props.security` is a file containing one more more properties in the >> `java.security` file syntax. >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Sean Mullan has updated the pull request incrementally with one additional > commit since the last revision: > > Document that comments in the properties file are ignored. Closing this PR as the alternate implementation is now preferred: [https://git.openjdk.org/jdk/pull/31884](https://git.openjdk.org/jdk/pull/31884#discussion_r3650050468) ------------- PR Comment: https://git.openjdk.org/jdk/pull/30635#issuecomment-5397072436
