chapter two
2 Hello Spring Security
This chapter covers
- Creating your first project with Spring Security
- Designing simple functionalities that use the basic actors in Spring Security architecture for authentication and authorization
- Understanding the relationship between the main actors involved in the basic authentication process and how they relate one to the other
- Writing your implementations for the primary responsibilities and overriding the default configurations
Spring Boot is the result of a match between the Spring Framework and a build tool (chosen from either Maven or Gradle). Moreover, with the development of recent applications and especially those for microservices, Spring Boot became more and more popular. Spring Boot provides auto-configuration for the project and shortens the time needed for the setup. In this chapter, we start with a first application that uses Spring Security. For the apps that you develop with the Spring Framework, Spring Security is an excellent choice for implementing application-level security.