We have a Java application and we want to provide the ability for end users to write 'business rules'. These rules will be evaluated when entities are created, updated or deleted.
I am looking for a language to write these business rules. Considerations are:
- Configurable security - end user should not be able to call things like new File("some secret file") or call an internal API
- Easy to read and understand
- Easy to manipulate lists and maps
- Ability to provide a syntax checker
Any suggestions?
-rw-r--r-- 1 root root 2168 2011-04-13 04:43 /etc/passwdis readable whole world, and has to be, to allow login.