I am using Java annotations to grant permissions to a particular method. So far I have not found a way to make my method accessible to multiple roles. Single role works fine with @Secured("ROLE_CUSTOMER"). Is there a way to do hasRole('role1','role2')?
I am using Java annotations to grant permissions to a particular method. So far
Share
Found an exact solution to the problem: