I have an immediate need in that if the user has configured specific rolename-principals
mapping in jboss-app.xml, then those need to be picked up by ejb3 metamodel.
These security role mappings get merged in the ejb21 and web meta data world. But the ejb3
meta model (based on independent JBossXB) is not doing the merge. The metadata parsed for
the ear (J2EEApplicationMetaData) is available to the EJB3 deployment, but it is not using
it.
A concern I have is that due to this merge (J2EEApplicationMetaData->security Roles)
into the ejb3 AssemblyDescriptor ->security roles, there will be a link between ejb3
metamodel and the old org.jboss.metadata due to the use of
J2EEApplicationMetaData/SecurityRoleMetaData. I know the original intent of ejb3 metamodel
was not to use the old metadata infrastructure for ejb21/web.
I guess since this is all temporary and there will be an effort for an unified metadata
from either Adrian or Bill, I am adding this change.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982798#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...