I need to get the caller-principal in a message-driven bean.
I have written a message-driven bean and two session-beans. The first session bean sends a JMS Message, which is associated to the correct topic. The message-driven bean delegates the call to the second session-bean. The caller-principal doesn´t seem to be available in the message-driven bean and the second session bean. Maybe the is a way to propagate the caller-principal to the message-driven bean.
Hi, AFAIK, there is no principal in onMessage() as there is no client calling onMessage() method. Regards. Dalibor