posted 16 years ago
According to the specs, Security Client Context information can be accessed in SFSB's activate and passivate methods.
Say if I have 2 Stateful session beans of beans type A and B.
Assume bean A is in a passivated state and bean B is active. In both the bean's activate/passivate methods, I have some code to extract the security client information and print it out to the screen on the server side.
If a client X calls a business method on bean A and if the container decides to passivate B, activate A and call my business method on bean A, then will I see the security information of client X displayed twice on the screen? ......(as a result of bean B's passivate method and bean A's activate method being called)?
Client X called a method on only bean A and not on bean B...