is a security domain used during jndi calls inside my enterprise application ?
I would like to create my own security domain, put entry for it into jboss-app.xml of my .ear, and I want this security domain will be applied only when call is from another application. I don't want this security domain will be applied during calls inside my ear. Is it possible ?
I didn't find any documentation about work of security domains during internal calls.