Open abysas opened 8 years ago
SecurityManager is a more broad question, I think https://blog.frankel.ch/java-security-manager/ is a decent blog post about it. It effectively enables these .policy things. I'd appreciate some documentation updates wrt SM.
Can you please make these changes and PR them?
The example requires:
But:
Jaas.policy
in demo war does not include permissions required when those jars are packaged in web application's lib directory. I tried to dissect those permissions and stopped after several hours of such futile investigation: there were simply too much permission entries to be added. Simple placing those jars into${catalina.base}/lib
folder were much easier though it doesn't easily aligns with development environment supported by IDE.Would you please update the policy file with required entries when jars are placed in application's lib folder? Thank you!