ibmruntimes / openj9-openjdk-jdk17

Extensions for OpenJDK 17 for Eclipse OpenJ9
GNU General Public License v2.0
23 stars 53 forks source link

Check setting of security property when in FIPS mode #339

Closed KostasTsiounis closed 5 months ago

KostasTsiounis commented 5 months ago

When in FIPS mode, calling Security.setProperty() should not be allowed when the security property that the user is trying to override is set in the active RestrictedSecurity profile. A SecurityException is thrown if such an attempt is made.

Back-ported from: https://github.com/ibmruntimes/openj9-openjdk-jdk/pull/773

Signed-off by: Kostas Tsiounis kostas.tsiounis@ibm.com

keithc-ca commented 5 months ago

Jenkins test sanity amac jdk17