Sample(Spring Boot + Spring MVC + Spring Security + Thymeleaf + Web jars)
HTML
springboot
Project where you can see how to configure spring security (via UserDetailsService implementation) and thymeleaf template engine in spring boot application and use spring security name spaces on web pages.