ibmruntimes / openj9-openjdk-jdk11

Extensions for OpenJDK 11 for Eclipse OpenJ9
GNU General Public License v2.0
31 stars 112 forks source link

Check setting of security property when in FIPS mode #769

Closed KostasTsiounis closed 6 months ago

KostasTsiounis commented 6 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 6 months ago

Jenkins test sanity plinux jdk11