[jboss-dev-forums] [Design of EJB 3.0] - Injection of Security Domain annotation into the container

anil.saldhana@jboss.com do-not-reply at jboss.com
Tue Mar 11 10:33:54 EDT 2008


Suppose there is an EAR with jboss-app.xml specifying a security domain. The  ear contains multiple deployments, a war and a ejb jar with ejb3.  Now how do we get the @SD annotation injected into the ejb3 container (it should be taking the sec domain setting from jboss-app.xml).  The web, ejb2 layers have already this behavior.

Of course the security domain setting in jboss.xml will get the annotation injected.

But I am interested in seeing the parent (ear) level security domain injected into ejb3 container....

Please advise......

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135631#4135631

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135631



More information about the jboss-dev-forums mailing list