-
Notifications
You must be signed in to change notification settings - Fork 282
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
[FEATURE] Additional investigation why OpenSAML 4.3.0 wants to use intenal OpenSearch permission #2989
Comments
[Triage] Thanks for filing, it would be good to have an understanding of the isolation/exposure model of this dependency |
@cwperks seems like i found the root cause of the problem. OS tries to check permissions for |
Nice find @willyborankin! I'm trying to get to the root of a separate permissions issue related to the JJWT 0.10.x -> 0.11.x upgrade. This PR was required on 2.x, but not required on main and I'm unsure why. |
@willyborankin I think we could close this one, right? |
Yes |
Is your feature request related to a problem?
After switching to OpenSAML version 4.3.0. We found out that 2 additional properties need to be added to the security plugin policy file (the problem was fixed here #2987).
permission java.util.PropertyPermission "*" "read,write";
- is not a big deal since it just asks for access to the internal OpenSAML classes and JDKjava.lang.ref.Cleaner
while
permission org.opensearch.secure_sm.ThreadPermission "modifyArbitraryThread
- is the internal OpenSearch permission and technically we can't use it. Insteadpermission java.lang.RuntimePermission "modifyThread";
must be used.What solution would you like?
To move forward with OpenSAML 4.3.0 we need investigate why it uses
permission org.opensearch.secure_sm.ThreadPermission "modifyArbitraryThread
.Do you have any additional context?
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: