I'm not sure what you mean. As far as I know the web.xml can only contain one security-domain.
But this is a different issue I would recommend to mark this thread as answered and open a new one because you might get a better answer if you post with a better subject into the right forum.