I have an EJB session bean, that takes currently logged person and do
some work. And I would like to do some stress test that will be called
from JUNIT framework. My problem is, how to tell to EJB bean, which
user should be obtain as logged person becouse otherwise it allways
returns a NULL value. So, Is there any way how to pass this
information to EJB layear through JNDI properties or through some
other way ? I would like to mention, that I am not able to provide the
user passwords, just only the login.

Could you give me some hint?