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.
I don't believe that you can use different security domains in a single WAR using servlet security.
Perhaps you can elaborate upon what you're trying to achieve?