7 Replies Latest reply on Feb 10, 2007 5:39 AM by Ovidiu Feodorov

    callerPrincipal changed after connecting JMS from EJB

    Alan Feng Novice

      When my SLSB is invoked, it has the caller principal set to the client supplied username. Inside my SLSB, I send out a JMS message to a topic using a different user/pass specified in the JMS configuration. It is done via ConnectionFactory.createConnection(user, pass). However, after the message is delivered, the username returned from getCallerPrincipal() in my SLSB changed to the JMS username.

      Is this a bug?