-
Bug
-
Resolution: Done
-
Major
-
11.0.0.Beta1
ServletUnitTestCase fails with security manager because of missing permission "("org.wildfly.security.permission.ElytronPermission" "getSecurityDomain")":
javax.servlet.ServletException: Failed to call EJBs/Session30 through remote and local interfaces at org.jboss.as.test.integration.ejb.servlet.EJBServlet.processRequest(EJBServlet.java:73) at org.jboss.as.test.integration.ejb.servlet.EJBServlet.doGet(EJBServlet.java:82) at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) ... Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.wildfly.security.permission.ElytronPermission" "getSecurityDomain")" in code source "(vfs:/content/ejb3-servlet.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.ejb3-servlet.war" from Service Module Loader") at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278) at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175) at org.wildfly.security.auth.server.SecurityDomain.getCurrent(SecurityDomain.java:155) ...
- blocks
-
WFLY-6542 Fix issues in tests with Security Manager
- Open
- clones
-
JBEAP-11992 ServletUnitTestCase fails with security manager
- Closed