Version 3

    Hello Community!

     

    I've got a problem with principal (JAAS) in my MDB.

     

    A Java-Client calls a remote secured SLSB (CLIENT_PRINCIPAL) on JBoss after successful login (JAAS). This SLSB sends a message to my messagequeue. My MDB invoke another SLSB (JBOSSMQ_PRINCIPAL) asynchron. How could I assign the CLIENT_PRINCIPAL to invoke the batchbean in methode onMessage?

     

    Execute within a fixed security context (RUNAS) is no solution because my principal is a customprincipal with customattributes!

     

    Thanks,

    Torsten