10 Replies Latest reply on Jan 16, 2012 5:22 PM by Jason Porter

    Seam 3 Security capability

    Lukas Camra Newbie


      I would like to use Seam 3 security module for handling security in my application. However, I am not sure if seam 3 offers capabilities that I need.

      In my system, the role of the user varies among the objects. That means that user doesn't have one global role, but he has different roles for different entities. For example, there are two entites - Car and Person. Person might have role OWNER for specific car if given person owns that car. So I would like to be able to call something like .hasRole('OWNER',carInstance) or something in that sense.

      Can I do this with Seam 3 security module or does this offer only global roles for whole system and not for specific instances?