June 2024
Intermediate to advanced
440 pages
11h 30m
English
This chapter covers
In chapter 11, you learned how to apply authorization rules using global method security. We worked on examples using the @PreAuthorize and @PostAuthorize annotations. When you use these annotations, the application either allows the method call, or it completely rejects it. Suppose you don’t want to forbid the call to a method, but you want to make sure that the parameters sent to it follow some rules. Or, in another scenario, you want to make sure that after the method is called, the method’s caller only receives ...
Read now
Unlock full access