Spring security jdbc The project uses dependencies Spring Web Spring Security JDBC API H2 Database Thymeleaf Spring Boot DevTools http://localhost:8080/ All have access to the homepage http://localhost:8080/login http://localhost:8080/user Everyone with the ADMIN and USER roles has access http://localhost:8080/admin Only the ADMIN role can access this page