ibmruntimes / openj9-openjdk-jdk8

Extensions for OpenJDK8 for Eclipse OpenJ9
GNU General Public License v2.0
52 stars 113 forks source link

Check setting of security property when in FIPS mode #747

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 aix jdk8