This short tutorial will show you how to build a basic login form using Spring Boot, Spring Security, and Thymeleaf.

Hello Java developers! If you are developing Spring boot-based applications, Spring Security is the de facto standard for securing your Spring-based applications.

In this short tutorial, we'll be looking at building a basic login form using Spring Boot, Spring Security, and Thymeleaf.

First, let's briefly cover some project files that are of less interest:


Dependencies

As with all Spring boot applications, there are many 'Starter' libraries that make it easy to add jars to your classpath: