Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check setting of security property when in FIPS mode #143

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

KostasTsiounis
Copy link
Contributor

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: ibmruntimes/openj9-openjdk-jdk#773

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

@keithc-ca
Copy link
Member

Jenkins test sanity zlinux jdk21

@keithc-ca keithc-ca merged commit 4d561e3 into ibmruntimes:openj9 Apr 17, 2024
5 checks passed
@KostasTsiounis KostasTsiounis deleted the setProperty_fips branch May 16, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants