This content has been marked as final.
Show 3 replies
-
1. Re: Different protection domains for server and application
adrian.brock Feb 18, 2005 5:50 PM (in response to simon.g)JBoss uses the original deployment urls, not the tmp urls.
From org.jboss.mx.loading.UnifiedClassLoader/** * Determine the protection domain. If we are a copy of the original * deployment, use the original url as the codebase. * @return the protection domain * @todo certificates and principles? */ protected ProtectionDomain getProtectionDomain() { return getProtectionDomain(origURL != null ? origURL : url); }
-
2. Re: Different protection domains for server and application
starksm64 Feb 21, 2005 1:18 PM (in response to simon.g)Right, we have unit tests that run with a security manager and the codebases in the permission are the original urls, not the tmp directory location.
-
3. Re: Different protection domains for server and application
simon.g Feb 22, 2005 3:08 AM (in response to simon.g)Great to know, thanks a lot.
Simon