security exception when reading file from java action

0
I want to test cloud security, when I am reading a file from a java action. I put the file in the projectdirectory/resources (I tried projectdir/deployment/data/tmp as well). When I am reading the file I get a security exception: java.security.AccessControlException: access denied java.util.PropertyPermission java.io.tmpdir read Anybody knows what I did wrong
asked
1 answers
2

The part in the reference guide you are referring to is specifically about Java in the Cloud. My suspicion is that the propertypermissions in the modeler aren't in sync with de default permissions in the cloud.

You can add the property permission yourself in the policy file which is located in the runtime folder at the location where the business modeler is installed. Opposed to 4.5.x and earlier, in 4.6.0 a lot of propertypermissions are set in the policy file.

You can find more info about this policy file here.

answered