-
1. Re: Distinguish between remote and local call
mazz May 26, 2006 3:18 PM (in response to martinganserer)isn't that the purpose of having separate remote and local interfaces?
you are probably doing the design pattern where your EJB has one main interface that extends both the remote and local (where the method names/sigs are identical).
You would have to abandon that design pattern and use the remote and local interfaces as they were intended :-)
Unless JBoss EJB impl has some feature I am not aware of. -
2. Re: Distinguish between remote and local call
bill.burke May 26, 2006 4:04 PM (in response to martinganserer)Actually, SessionContext has a method on it getInvokedBusinessInterface() but unfortunately, we haven't implemented it yet.
-
3. Re: Distinguish between remote and local call
martinganserer May 27, 2006 3:47 AM (in response to martinganserer)Hello Bill,
do you see any chance that you guys will implement this method in one of the next releases? I am not sure if other developers need this feature but it would be really interesting for our custom security system where we only want to check authorization of a method if the call came from a remote client.
Thank you!