[jboss-jira] [JBoss JIRA] (AS7-2823) TS: Option to run under security manager.

Ondrej Zizka (Assigned) (JIRA) jira-events at lists.jboss.org
Mon Nov 28 22:43:40 EST 2011


     [ https://issues.jboss.org/browse/AS7-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Zizka reassigned AS7-2823:
---------------------------------

    Assignee: Peter Skopek  (was: Ondrej Zizka)


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