November 2017
Intermediate to advanced
542 pages
14h 24m
English
Logically, writing rules that refer to method parameters in their constraints seem sensible for certain types of operations. For example, it might make sense for us to restrict the findForUser(int userId) method to meet the following constraints:
While it's easy to see how we could alter the rule to restrict the method invocation only to administrators, it's not clear how we would determine if the user is attempting to change their own password.
Fortunately, SpEL binding, used by the Spring Security method annotations, supports more sophisticated ...
Read now
Unlock full access