1 Reply Latest reply on Oct 24, 2008 4:14 PM by Shane Bryzak

    Major bug? with seam 2.1GA with rule-based-permission-resolver declaration

    William Woodman Master

      folks - can someone check i' am not being silly.


      I just downloaded seam 2.1GA


      I got the latest nighlty build of jboss tools and created a new project


      problem:  in the gen process a components.xml file is genrated with the following


        <security:rule-based-permission-resolver security-rules="#{securityRules}"/> 
      



      however this fails to resolve to type.  Why because the rule-based-permision-resolver is actually now in a subdirectory of the below org.jboss.sea.security.permissions.


      the examples code in the build has this wrong also i looked in seamspace example and that wont work either.


      I've had to patch the generated components.xml as follows


      xmlns:security="http://jboss.com/products/seam/security"
      <!-- add new namespace -->            xmlns:permission="http://jboss.com/products/seam/security/permission"
       
      ...
      
         <permission:rule-based-permission-resolver security-rules="#{securityRules}"/>