1 Reply Latest reply on Mar 9, 2010 11:31 AM by jacenko13

    acl in seam

    jacenko13

      Hello, I'm new in seam and i have to do acl for my application.
      I browse internet and i can't find completly documentation.
      I need:
      users, roles, and permissions for roles and users. I do not need security.drl file, i want to use database. Can anyone explain me acl in seam ? Do i need own permission resolver class ?




        • 1. Re: acl in seam
          jacenko13

          It's work!


          Explain:
          security.drl work's with database too


          Need: UserAccount, UserRole, UserPermission (from seam-2.2 seam-gen)


          Annotate method:
          @Restrict( {s:hasPermission('Course','create')})


          Record in database


          action - create
          discriminator - user
          recipeint - for example admin
          target - Entity class for example Course


          and this is it.