How can I configure a security domain in jboss-webservices.xml? I want to keep JBoss proprietary annotations out of the source code and hence do not want to use @SecurityDomain.
I figured it out myself. You can't configure security domain in jboss-webservices.xml. You have to use another deployment descriptor along with it, either jboss-ejb3.xml or jboss-web.xml, depending on how you are packaging the artifact.