1 Reply Latest reply on Dec 21, 2012 3:11 AM by Stephen Coy

    Applying different security domains to different servlets

    raylite3 Apprentice

      Hello,

       

      I have 2 different servlets in a WAR and I want to apply 2 different security domains for them. How do I specify the security domain that should be used for each servlet?

       

      I don't understand how the linking between web.xml and jboss-web.xml works. In web.xml, the <realm-name> is specified and in jboss-web.xml, there is a <security-domain> specified. But I don't see how one refers to the other?

       

      Thanks.