> 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 with a new target base due to a merge or a rebase. The pull request now contains 33 commits: - Merge branch 'master' into open5 - Merge remote-tracking branch 'refs/remotes/origin/open5' into open5 - Remove whitespace. - Add tests for include option. Add more tests for invalid option syntax. - Add support for include option. Add props option for specifying properties file. - Update docs to include new props and include options. - Improve description of option. - Improve multi-line value comment. - Make test be able to run with jmod-less image. - Don't override getType(). - ... and 23 more: https://git.openjdk.org/jdk/compare/c289cf50...ac6bc423 ------------- Changes: https://git.openjdk.org/jdk/pull/30635/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30635&range=06 Stats: 440 lines in 5 files changed: 439 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/30635.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30635/head:pull/30635 PR: https://git.openjdk.org/jdk/pull/30635
