Although to help with usability I have created, which would allow a security domain to refer to a specific deployment module, giving you deployable security domains:
https://issues.jboss.org/browse/AS7-3905
Reply to this message by going to Community
Start a new discussion in JBoss AS 7 Development at Community