A login module in domain1 cannot call a secured ejb in domain1. You can specify the security domain at the bean level using the container-configuration setup of jboss.xml:
| <jboss> | <enterprise-beans> | <entity> | <ejb-name>AuditMappedEJB</ejb-name> | <local-jndi-name>cmp2/audit/AuditMapped</local-jndi-name> | <configuration-name>Secured CMP 2.x EnitityBean</configuration-name> | </entity> | </enterprise-beans> | | <container-configurations> | <container-configuration extends="Standard CMP 2.x EntityBean"> | <container-name>Secured CMP 2.x EnitityBean</container-name> | <security-domain>java:/jaas/other</security-domain> | </container-configuration> | </container-configurations> | </jboss> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992430#3992430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992430 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user