<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 3, 2015 at 2:47 PM, Ondrej Kotek <span dir="ltr">&lt;<a href="mailto:okotek@redhat.com" target="_blank">okotek@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":1dp" class="" style="overflow:hidden">There are test cases using org.jboss.as.arquillian.container.ManagementClient in non-runAsClient mode. While running with Java Security Manager without AllPermission assigned, the test cases fail. This is caused by insufficient permissions assigned to deployments -- deployments require permissions that Arquillian uses to create connection for ManagementClient, e.g. read FilePermission for modules/system/layers/base/org/jboss/xnio/nio/main/* (XNIO module), connect,resolve SocketPermission, * * MBeanPermission, getClassLoader RuntimePermission.</div></blockquote></div><br></div><div class="gmail_extra">Just line of note here, ManagmentClient class you see in WildFly core tests is not from Arquillian but WildFly core test runner.<br></div><div class="gmail_extra">see <a href="https://github.com/wildfly/wildfly-core/tree/master/testsuite/test-runner/src/main/java/org/wildfly/core/testrunner">https://github.com/wildfly/wildfly-core/tree/master/testsuite/test-runner/src/main/java/org/wildfly/core/testrunner</a><br><br></div><div class="gmail_extra">and as such, permissions could be added there at this is only used for wildfly core testsuite.<br></div><div class="gmail_extra">Also, core doesn&#39;t have any dependencies to arquillian.<br></div><div class="gmail_extra"><br><br>--<br></div><div class="gmail_extra">tomaz<br></div><div class="gmail_extra"><br></div></div>