1 Reply Latest reply on Jan 12, 2009 10:20 AM by Shervin Asgari

    Custom RoleCheck(s) acting as and not or

    Shervin Asgari Master

      Hello.
      I have created custom org.jboss.seam.annotations.security.RoleCheck annotations.
      And when I put my role annotation on the class it enforces an and rule and not or.


      ie:



      @Name("fooComponent")
      @Officer
      @Manager
      public class Foo {}




      I want to have the behaviour of if(officer or manager), but it seems it is (if officer and manager)
      How can I do this?