This content has been marked as final.
Show 2 replies
-
2. Re: SecurityManager configuration
p2auljr Mar 15, 2006 1:35 PM (in response to p2auljr)Is there a way to grant a WAR file particular permissions?
I want to be able to specify a grant entry as such:
grant codeBase "file:${jboss.server.home.dir}/app-deploy/myapp.war" {
permission java.util.PropertyPermission "*", "read";
// additional app specific permissions
};
However, this grant doesn't work because the application is deployed to the tmp directory. The only way I can get it to work is if I use an exploded directory rather than a WAR. I would prefer not to have to do that.
Thanks for your help.