All You Need To Know About Spring Security Basics
If you are using spring security first time and you feel like spring security is a weird thing. Actually, that is not because of spring security it's because of your knowledge about spring security. Over this article, we are discussing the basic configuration of spring security in very depth.
What is Spring Security?
Spring Security is a framework that enables a programmer to impose security restrictions to Spring-framework–based Web applications through JEE components. Also, it is a library that can be used, extended to customize as per the programmer’s needs. The greatest advantage of this framework is that it is powerful yet highly customizable in its implementation. Although it follows Spring’s convention over configuration, programmers can choose between default provisions or customizing them according to their needs.
Spring Security operates in two major areas: Authentication and Authorization.
Authentication
Authentication means that, while accessing certain restricted resources, the user actually is the right person to do so. There are two processes to make sure that the user is authentic: identification and verification. For example, a user is authenticated through their username and password, which is typically stored in a…