0 Replies Latest reply on Jan 27, 2015 1:06 AM by valsaraj viswanathan

    EJB permission configuration in AS 7

    valsaraj viswanathan Master

      <jboss:ejb-jar xmlns:jboss="http://www.jboss.com/xml/ns/javaee"

          xmlns="http://java.sun.com/xml/ns/javaee" xmlns:s="urn:security:1.1"

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-ejb3-2_0.xsd

                           http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd"

          version="3.1" impl-version="2.0">

      .....

      ........

      <s:security>

                <ejb-name>*</ejb-name>

                <s:missing-method-permissions-deny-access>false</s:missing-method-permissions-deny-access>

                ........

      </s:security>

       

      I have tried to deploy this in AS 7.1.2 and got some exceptions.

      urn:security:1.1 won't work, need to change it to urn:security.

      When I make this change, <s:missing-method-permissions-deny-access> won't work. What is the solution?