You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
For the 3.0.0 release, it was necessary to limit how the Java Agent performed StackWalking to bring it in parity with the Java Security Manager (See #17894). In that PR, the logic to extract ProtectionDomains from the callstack was limited to frames before AccessController.doPrivileged.
OpenSearch will need a replacement that plugins can use to replace their imports with the Java Agent equivalents.
Describe the solution you'd like
There are some instances of using AccessController-related code from the JDK like AccessControlContext that I don't believe OpenSearch should provide a replacement for.
Is your feature request related to a problem? Please describe
For the 3.0.0 release, it was necessary to limit how the Java Agent performed StackWalking to bring it in parity with the Java Security Manager (See #17894). In that PR, the logic to extract ProtectionDomains from the callstack was limited to frames before AccessController.doPrivileged.
In the JDK, the AccessController is marked for removal and calls within the JDK are being removed (for example: openjdk/jdk24u@db7ee3d).
OpenSearch will need a replacement that plugins can use to replace their imports with the Java Agent equivalents.
Describe the solution you'd like
There are some instances of using AccessController-related code from the JDK like AccessControlContext that I don't believe OpenSearch should provide a replacement for.
i.e.
OpenSearch/plugins/ingest-attachment/src/main/java/org/opensearch/ingest/attachment/TikaImpl.java
Lines 140 to 187 in 93d5356
Related component
Plugins
Describe alternatives you've considered
Figure out an alternative that does not require additional grants in policy files.
Additional context
No response
The text was updated successfully, but these errors were encountered: