Sorry to ask the question again but I have marked by mistake the previous question as probably solved.
Hi,
I have already asked a question here https://developer.jboss.org/message/955940#955940 about migrating the security policy file of an application deployed on JBoss7 (under Java Security Manager with Java 7). With no success.
The standard JBoss 7.1.1 AS does not accept codebases using the virtual file system. Using a codebase like: "vfs:${app.home.dir}/deployments/somefile.war/-" will give the following errors (sorry for being in French):
java.security.policy : erreur d'ajout d'entrée : (error adding entry)
java.net.MalformedURLException: unknown protocol: vfs
Reading the comments of Bartosz Baranowski and Anil Saldanha on the article “JBoss AS7: Security : Running under a Java Security Manager” (https://developer.jboss.org/wiki/JBossAS7SecurityRunningUnderAJavaSecurityManager) I think that the possible solutions would be:
Can anyone tell me if these solutions can be achieved and how?
Thank you very much,
Adrian Boangiu