From 69b18c1fe1d7d876c86de850b716de396877ad9d Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 20 Jun 2026 22:02:32 +0530 Subject: A list of users are shown. Added error pages. --- spring-boot/10-role-based-security/README | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'spring-boot/10-role-based-security/README') 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 -- cgit v1.2.3