In Jboss6, I configured security realm in xxx.war/WEB-INF/context.xml
<Context>
<Realm className="com.xxx.MyRealm"/>
</Context>
But context.xml is invalid in Jboss7.
Adding it to jboss-web.xml? What should i do?