1 Reply Latest reply on Nov 4, 2004 7:23 PM by starksm64

    Web app accessing different security-domains

      Hello!
      I have a Web application which needs to propagate authentication to two EJB modules which use distinct security-domains. EJB-ModA is configured with security-domain A, EJB-ModB is configured with security-domain B and the web app is configured on its jboss-web.xml with security-domain A. How can the web app automatically authenticate itself on security-domain B?
      It would be something like the "security-identity" element available for EJBs. It would be necessary to have a rule for the web app like: When accdessing EJB-ModB use identity XPTO, being xpto a user with roles on realm B.

      Any help would be welcome.
      Thanks in advance,
      Victor Batista