Scott, thanks for the test case. I have reopened the JIRA task. The AnnotationMergedView for the web layer will not kick in until the MergedDeployer for the web layer is enabled in AS5. I will do the needful.
The fix has been made and the test cases all work.
Scott/Carlo, can u take a look at the security domain metadata bridge code that I display above? Mainly I want to verify if the beanMetaData.getJbossMetadata is a valid way to get hold of the merged metadata.
Looks good to me.