-
Bug
-
Resolution: Done
-
Major
-
None
The RemoteTransactionContext.getInstance() method must be called from within a privileged block.
The stack trace looks like this:
java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.wildfly.common.context.ContextPermission" "org.wildfly.transaction.client.context.remote" "get")" in code source "(vfs:/content/ejb-client-interceptor-test-module.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.ejb-client-interceptor-test-module.jar" from Service Module Loader") at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:295) at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:192) at org.wildfly.common.context.ContextManager.get(ContextManager.java:241) at org.wildfly.transaction.client.RemoteTransactionContext.getInstance(RemoteTransactionContext.java:167) at org.wildfly.httpclient.ejb.HttpEJBReceiver.<init>(HttpEJBReceiver.java:101) at org.wildfly.httpclient.ejb.HttpClientProvider.notifyRegistered(HttpClientProvider.java:44) at org.jboss.ejb.client.EJBClientContext.<init>(EJBClientContext.java:275) at org.jboss.ejb.client.EJBClientContext$Builder.build(EJBClientContext.java:788) at org.jboss.ejb.client.EJBClientContext.withAddedInterceptors(EJBClientContext.java:503) ... 65 more
- causes
-
WFLY-10192 EJBClientInterceptorTestCase fails for HTTP invocation under security manager
- Closed
- is cloned by
-
JBEAP-16087 (7.2.z) WEJBHTTP-18 - HttpEJBReceiver fails under a security manager
- Closed
- is related to
-
WFLY-6542 Fix issues in tests with Security Manager
- Open