> 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. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30635/files - new: https://git.openjdk.org/jdk/pull/30635/files/ac6bc423..8ca8d12a Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30635&range=07 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30635&range=06-07 Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 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
