-
Bug
-
Resolution: Done
-
Critical
-
7.1.0.ER1
-
None
IIOPSecurityInvocationTestCase tests fail with security manager:
java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.wildfly.security.permission.ElytronPermission" "getSecurityDomain")" in code source "(vfs:/content/client.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.client.jar" 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) at org.jboss.as.test.shared.integration.ejb.security.Util.switchIdentity(Util.java:238) at org.jboss.as.test.shared.integration.ejb.security.Util.switchIdentity(Util.java:206) at org.jboss.as.test.shared.integration.ejb.security.Util.switchIdentity(Util.java:156) at org.jboss.as.test.iiop.security.IIOPSecurityInvocationTestCase.testSuccessfulInvocation(IIOPSecurityInvocationTestCase.java:103) ...
After adding missing permission "("org.wildfly.security.permission.ElytronPermission" "getSecurityDomain")" tests fail with:
javax.ejb.EJBException: org.omg.CORBA.UNKNOWN: vmcid: 0x0 minor code: 0 completed: Maybe at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:188) at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277) at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:332) at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:240) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509) ...