[
https://issues.jboss.org/browse/WFLY-9044?page=com.atlassian.jira.plugin....
]
Ondrej Kotek moved JBEAP-11943 to WFLY-9044:
--------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-9044 (was: JBEAP-11943)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: IIOP
Test Suite
(was: IIOP)
(was: Test Suite)
Affects Version/s: 11.0.0.Beta1
(was: 7.1.0.ER1)
IIOPSecurityInvocationTestCase fails with security manager
----------------------------------------------------------
Key: WFLY-9044
URL:
https://issues.jboss.org/browse/WFLY-9044
Project: WildFly
Issue Type: Bug
Components: IIOP, Test Suite
Affects Versions: 11.0.0.Beta1
Reporter: Ondrej Kotek
Assignee: Tomasz Adamski
Priority: Critical
Attachments: IIOPSecurityInvocationTestCase-output.txt
IIOPSecurityInvocationTestCase tests fail with security manager:
{noformat}
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)
...
{noformat}
After adding missing permission
"("org.wildfly.security.permission.ElytronPermission"
"getSecurityDomain")" tests fail with:
{noformat}
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)
...
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)