[jboss-user] [JBoss Messaging] - callerPrincipal changed after connecting JMS from EJB

alllle do-not-reply at jboss.com
Thu Feb 1 19:45:35 EST 2007


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009771#4009771

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009771



More information about the jboss-user mailing list