4. Samples and Guides (Start Here)

If you are looking to get started with Spring Security, the best place to start is our Sample Applications.

Table 4.1. Sample Applications

SourceDescriptionGuide
Hello Spring SecurityDemonstrates how to integrate Spring Security with an existing application using Java-based configuration.Hello Spring Security Guide
Hello Spring Security BootDemonstrates how to integrate Spring Security with an existing Spring Boot application.Hello Spring Security Boot Guide
Hello Spring Security XMLDemonstrates how to integrate Spring Security with an existing application using XML-based configuration.Hello Spring Security XML Guide
Hello Spring MVC SecurityDemonstrates how to integrate Spring Security with an existing Spring MVC application.Hello Spring MVC Security Guide
Custom Login FormDemonstrates how to create a custom login form.Custom Login Form Guide