0 Replies Latest reply on Apr 11, 2008 3:30 PM by gjeudy

    Principal propagation with remote EJB calls

    gjeudy

      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]