Not all JBoss EAP 6 properties are working in a security policy file
Issue
- The
jboss.home.dirproperty doesn’t translate properly when used in a security policy file.
This permission will result in a "read" error when loading the application:
permission java.io.FilePermission "${jboss.home.dir}/-", "read";
But this permission does not:
permission java.io.FilePermission "${module.path}/../-","read";
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
