[jboss-jira] [JBoss JIRA] (AS7-2823) TS: Option to run under security manager.
Ondrej Zizka (Issue Comment Edited) (JIRA)
jira-events at lists.jboss.org
Mon Nov 28 22:45:40 EST 2011
[ https://issues.jboss.org/browse/AS7-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646166#comment-12646166 ]
Ondrej Zizka edited comment on AS7-2823 at 11/28/11 10:44 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}
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?
{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}
> 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
More information about the jboss-jira
mailing list