Skip to content

Conversation

@SanojPunchihewa
Copy link
Contributor

Purpose

Add class level access control for Nashorn and Graal engines in Script mediator.

Sample toml config will be as follows

[synapse_properties]
'limit_java_class_access_in_scripts.enable'=true # defaults to 'false'
'limit_java_class_access_in_scripts.list_type' = "BLOCK_LIST" # or "ALLOW_LIST" # BLOCK_LIST
'limit_java_class_access_in_scripts.class_prefixes' = "java.lang.Runtime"

@SanojPunchihewa SanojPunchihewa merged commit 87c957e into wso2:master Oct 1, 2025
1 of 2 checks passed
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.

5 participants