diff options
Diffstat (limited to 'spring-boot/10-role-based-security/README')
| -rw-r--r-- | spring-boot/10-role-based-security/README | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/spring-boot/10-role-based-security/README b/spring-boot/10-role-based-security/README index 9a79809..95aaa8a 100644 --- a/spring-boot/10-role-based-security/README +++ b/spring-boot/10-role-based-security/README @@ -17,4 +17,13 @@ How is role based security enabled? 3. Controllers and services can be annotated with @PreAuthorize(). Example: ContractController.java -4. In Thymeleaf templates, sec:authorize() works with role names. Example: layout/main.html
\ No newline at end of file +4. In Thymeleaf templates, sec:authorize() works with role names. Example: layout/main.html + + +What other modifications are found in this sample app? + +1. List of users are shown in a table. UserRepository extends JPARepository class that supports paging and sorting. + +2. The edit link for each user can be used to show the update form. + +3. Error pages have been added. See templates/error.html and templates/error/403.html .
\ No newline at end of file |
