Skip to content

Conversation

@ldematte
Copy link
Contributor

@ldematte ldematte commented Feb 11, 2025

During plugin install, we validate the plugin's policy file against a set of allowed/disallowed permissions. However, methods for anything related to SecurityManager (including policy parsing) have been removed from JDK 24+.

We will eventually completely remove this code once Entitlements (SecurityManager replacement) is complete; this PR provisionally disable policy parsing and validation if the SecurityManager is not available (has been removed).

closes #121989

@ldematte ldematte added >non-issue :Core/Infra/Core Core issues without another label auto-backport Automatically create backport pull requests when merged v8.18.1 v8.19.0 v9.0.1 v9.1.0 labels Feb 11, 2025
@ldematte ldematte requested a review from a team as a code owner February 11, 2025 08:10
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Feb 11, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ldematte ldematte merged commit 2b54de1 into elastic:main Feb 12, 2025
17 checks passed
@ldematte ldematte deleted the fix-plugin-install-java24 branch February 12, 2025 07:14
ldematte added a commit to ldematte/elasticsearch that referenced this pull request Feb 12, 2025
ldematte added a commit to ldematte/elasticsearch that referenced this pull request Feb 12, 2025
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.18
8.x
9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team v8.18.1 v8.19.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] Unable to parse policy file

4 participants