4 Replies Latest reply on Jul 20, 2005 11:35 AM by kirillp

    EJB Declarative Security does not work

    kirillp

      hello,

      I'm using JBoss-4.0.1RS1

      The EJB declarative security does not work... I have the following entries in the ejb-jar file:

      <method-permission>
       <role-name>User</role-name>
       <method>
       <ejb-name>MyEJBHome</ejb-name>
       <method-name>*</method-name>
       </method>
       </method-permission>


      Whether or not the user is in the role User, he gains access to the bean. No in the ejb-jar. The security interceptor is in the stack.

      Any pointers as to what else I can check to fix the problem?

      Thanks,