Hi everybody,
In my current application, I must implement a simple security pattern to secure my services, based on a mix of logical operators "AND" and "OR".
But I haven't found any solution so far, and what's surprise me the most is that I can't find any reference to a similar simple problem ...
I just want to have something like :
Allow access if :
bar.foo.MyService.myMethod=ROLE_A AND (ROLE_B OR ROLE_C)
Any idea ?
In fact in my case there is maybee a simple trick, because ROLE_A is always the same value (something like APPLICATION_A wich every user allowed to access my application has).
Thanks
Eric Ballet-Baz