1 Reply Latest reply on Feb 1, 2010 9:44 PM by gaohoward

    jboss.xml <mdb-user> and getCallerPrincipal() in onMessage()

      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.

      Thanks

      Joe