-
1. Re: Identifying the application or EJB who calls an EJB on another server
wdfink Jun 28, 2013 2:26 AM (in response to bernd.koecke)1 of 1 people found this helpfulFrom what I understand the ejb-security-interceptors might help.
Here you can propagate the user through the connection.
-
2. Re: Identifying the application or EJB who calls an EJB on another server
jaikiran Jun 28, 2013 2:30 AM (in response to bernd.koecke)1 of 1 people found this helpfulI 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
-
3. Re: Identifying the application or EJB who calls an EJB on another server
bernd.koecke Jun 28, 2013 3:24 AM (in response to bernd.koecke)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,
Bernd