[jboss-user] [JBoss Messaging] New message: "jboss.xml <mdb-user> and getCallerPrincipal() in onMessage()"

Joseph Isaac do-not-reply at jboss.com
Mon Feb 1 21:12:40 EST 2010

User development,

A new message was posted in the thread "jboss.xml &lt;mdb-user&gt; and getCallerPrincipal() in onMessage()":


Author  : Joseph Isaac
Profile : http://community.jboss.org/people/teknomad

In JBoss-4.2.2.GA, the use of the <mdb-user> tag in jboss.xml, leads to a matching getCallerPrincipal() when executed in the onMessage() of an MDB.

In JBoss-5.1.0.GA, although the JBoss DTD does not appear to have changed in this area, the same entry (virtually the same EAR file) leads to a getCallerPrincipal() of anonymous i.e. an unauthenticated user.

Have there been any changes of note that would lead to the value of the <mdb-user> tag, not being the caller principal? My intention is to have the getCallerPrincipal() return a specified principal depending on the MDB configuration, as opposed to just anonymous.



To reply to this message visit the message page: http://community.jboss.org/message/523525#523525

More information about the jboss-user mailing list