1 of 1 people found this helpful
I don't fully understand the question. But I think what you need is just plain EJB client interceptors. An example is here https://github.com/wildfly/wildfly/blob/master/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/remote/client/api/interceptor/EJBClientInterceptorTestCase.java
Hello Wolf-Dieter, hello Jaikiran,
thanks a lot for your answers. Yes your postings are solving my problem. Now I know, I'm on the right way . The only thing I have to build is a subsystem which adds an application id by an operator and this configurable at runtime. But this is not a big thing and is only necessary because of the roles we have defined here and what should be done by a developer, deployer or operator. When I understand it right, is the JAAS module in ejb-security-interceptors used on the server with the SecuredEJB . And the only thing I have to do is to extend the server which has the IntermediateEJB deployed.
Thanks again for your help. Best regards,