3 Replies Latest reply on Jan 27, 2012 4:15 AM by Zufar Muhamadeev

    Propagate security context from ejb to MDB

    Zufar Muhamadeev Newbie

      Hello!

      My environment is JBoss AS6 with hornetq 2.1.

      I have two slsb, and one mdb. There are all in one security domain. First slsb send message to mdb, then mdb calls second slsb. But slsb call from mdb falls with "Invalid user".

      I configured Client Login according to User Manual. Here is hornetq-jboss-beans.xml security configuration:

       

      {code:xml}<bean name="HornetQSecurityManager" class="org.hornetq.integration.jboss.security.JBossASSecurityManager">

            <start ignored="true"/>

            <stop ignored="true"/>

            <depends>JBossSecurityJNDIContextEstablishment</depends>

            <property name="allowClientLogin">true</property>

            <property name="authoriseOnClientLogin">true</property>

      </bean>{code}

       

      What should i do to propagate security domain from slsb to mdb?