.addClasses(AbstractSecurityDomainSetup.class, EjbSecurityDomainSetup.class)
.addAsResource(AnnotationAuthorizationTestCase.class.getPackage(), "users.properties", "users.properties")
.addAsResource(AnnotationAuthorizationTestCase.class.getPackage(), "roles.properties", "roles.properties")
.addAsWebInfResource(AnnotationAuthorizationTestCase.class.getPackage(), "jboss-web.xml", "jboss-web.xml")
.addAsManifestResource(new StringAsset("Manifest-Version: 1.0\nDependencies: org.jboss.as.controller-client,org.jboss.dmr\n"), "MANIFEST.MF");
war.addPackage(CommonCriteria.class.getPackage());
log.info(war.toString(true));
return war;
}
@EJB(mappedName = "java:global/ejb3security/RolesAllowedOverrideBean")