3 Replies Latest reply on Nov 23, 2014 10:36 PM by jaikiran pai

    Wildfly 8.2: EJBs in WARs now inherit the WAR security domain

    Patrick Garner Newbie

      First of all, thank you all for your hard work in order to release Wildly 8.2!

       

      Second, I have a question about the release announcement where it says, "EJBs in WARs now inherit the WAR security domain." I spent the past hour trying to find out what this means.

       

      From Wildfly documentation:

      https://docs.jboss.org/author/display/WFLY8/Deployment+Descriptors+used+In+WildFly

      https://docs.jboss.org/author/display/WFLY8/EJB+3+Reference+Guide

      https://docs.jboss.org/author/display/WFLY8/Securing+EJBs

      https://docs.jboss.org/author/display/WFLY8/jboss-ejb3.xml+Reference

       

      From JBoss Community:

      https://developer.jboss.org/wiki/JBossAS7SecurityDomainModel

      https://developer.jboss.org/wiki/PrimerOnWebSecurityInJBossAS

      https://developer.jboss.org/wiki/JBossAS7SecureMyWebAppHowDoI

       

      From Quickstart examples:

      https://github.com/wildfly/quickstart/tree/master/servlet-security

      https://github.com/wildfly/quickstart/tree/master/ejb-security

      https://github.com/wildfly/quickstart/tree/master/ejb-security-plus

       

      But alas, I've come up short.  Can you briefly tell me what it means for an EJB to inherit WAR security or point out a web resource that would explain it?  I'm primarily interested in what's changed from the developer's perspective in writing code and/or changes to jboss-web.xml or jboss-ejb3.xml.