Hi,
I was trying to whitelist the JavaScript classes to get more control over execution of JavaScript classes in the Script task but after enabling some required services to 'true' in properties file, I got following error:
Access to Java class "org.activiti.engine.impl.persistence.entity.ExecutionEntity" is prohibited.
Following are the steps I executed to enabled servies:
- Added the script types in activiti-app/WEB-INF/classes/activiti/whitelisted-scripts.conf:
- javascript
- js
- ecmascript
- groovy
- juel
- Enabled javascript.secure-scripting.enabled=true
- Set javascript.secure-scripting.enable-class-whitelisting=true
- Added following to activiti-app/WEB-INF/classes/activiti/javascript-whitelist-classes.conf:
- java.lang.System
- java.util.ArrayList
- org.apache.tomcat.util.log.SystemLogHandler
Is there anything that I missed here?
Thanks for help.