take a look at chapter 8 of the free doco, that you'll find at Services > Documentation. It seems that you want to secure your webapps through JAAS? In short you may define different realms for your apps in $JBOSS_HOME/server/default/conf/login-config.xml and then define these as security domains in your jboss-web.xml-Files.
Yes I know, but I want to secure every app with different security ressources...
For exemple :
jBoss -> dc=myJBoss,dc=org
myEAR1 -> dc=myEar1,dc=com
myEAR2 -> dc=myEar2,dc=com
I want that JAAS parameters appeared into each single app ( in application.xml for example ) because there not shared between them.
Is it possible and where can I find some docos for that ?