[
https://issues.jboss.org/browse/AS7-2823?page=com.atlassian.jira.plugin.s...
]
Ondrej Zizka edited comment on AS7-2823 at 11/28/11 10:46 PM:
--------------------------------------------------------------
Peter what would be the policy for testsuite? Since we use Arq, I guess we need to add
test classes too, right?
I'd like to have some no-op policy until AS7-2826 is done.
{code}
// Grant all to AS.
grant codeBase "file:${jboss.dist}/-" {
permission java.security.AllPermission;
};
grant codeBase "file:${jboss.inst}/-" {
permission java.security.AllPermission;
};
// Grant all to tests.
grant codeBase "file:${jbossas.ts.root.dir}/-" {
permission java.security.AllPermission;
};
{code}
Are the system props expanded?
was (Author: ozizka):
Peter what would be the policy for testsuite? Since we use Arq, I guess we need to add
test classes too, right?
I'd like to have some no-op policy until AS7-2826 is done.
{code}
// Grant all to AS.
grant codeBase "file:${jboss.dist}/-" {
permission java.security.AllPermission;
};
grant codeBase "file:${jboss.inst}/-" {
permission java.security.AllPermission;
};
// Grant all to tests.
grant codeBase "file:${jbossas.ts.root.dir}/-" {
permission java.security.AllPermission;
};
{code}
Are the JVM props expanded?
TS: Option to run under security manager.
-----------------------------------------
Key: AS7-2823
URL:
https://issues.jboss.org/browse/AS7-2823
Project: Application Server 7
Issue Type: Sub-task
Components: Test Suite
Reporter: Ondrej Zizka
Assignee: Peter Skopek
Fix For: 7.1.0.CR1
{code}
-Dsecurity.manager
{code}
and
{code}
-Dsecurity.policy
{code}
There are some tests failing under globally set SM because they use their own.
These need to be exluded from running when security manager is in use.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira