Introduction to Spring Security

Get introduced to the concept of security in a Spring application.

We'll cover the following

This chapter will certainly not handle everything about Spring Security but will serve as an excellent introduction to get you started.

Security

Security, generally, consists of two major parts:

  • Authentication: Determines whether a user is who they claim to be. In simple terms, this function verifies that the username and password match.

  • Authorization: Once we know who the user is, we need to determine its access rights. What part of the application can the user access and what part is hidden or forbidden for them?

Get hands-on with 1000+ tech skills courses.