2 Replies Latest reply on Jul 12, 2008 12:00 PM by Ragav Gomatam

    Principal propagation with remote EJB calls

    Guillaume Jeudy Master

      Hi,

      I have setup CallerIdentityModule as described in this post [url]http://wiki.jboss.org/wiki/ConfigJCALoginModule, if I issue a remote call from an authentified EJB(residing in EAR1) how should the propagation work?

      I tried adding jboss-app fragment below to the other EAR (EAR2) hosting the target EJB:

      <jboss-app>
       <security-domain>java:/jaas/RDMRealm</security-domain>
      </jboss-app>
      

      I have to mention that the principal gets passed normally for all local calls on other EJBs residing in the same EAR (EAR1) where the principal was initially authentified.

      I should I go about with this ?[/url]