Lesson 5-1: Use Spring Boot Security for security control

"Proficient in Spring Boot 42 Lectures" is divided into five parts, this is the last part, mainly including security, testing, deployment, monitoring and comprehensive practices. For security access control, we mainly explain the use of Spring Boot Security; monitoring mainly uses Spring Boot Actuator and Spring Boot Admin. These two components are very practical in actual production applications; Spring Boot's support for testing is comprehensive, and this part will Organize and summarize it; Spring Boot deployment is very simple, if combined with the use of Docker, it is more convenient to deploy, operate and maintain, and expand horizontally. Finally, a real practical case will be used to review the Spring Boot course content.

Security is an enterprise’s underpants. It blocks abnormal external access for the enterprise and ensures the security of the enterprise’s internal data. There have been many incidents in the industry that have caused major losses to the company due to data leakage, and security issues have been increasingly affected by companies in the industry. Pay attention. A large part of data leakage is caused by access with abnormal permissions. It is very urgent that a suitable security framework protects the security of enterprise services. Spring Security is undoubtedly one of the best choices in the Java field.

Introduction to Spring Security

Spring Security is a security framework that can provide declarative security access control solutions based on Spring-based enterprise application systems. It provides a set of Beans that can be configured in the Spring application context, making full use of Spring IoC, DI (Inversion of Control, DI: Dependency Injection) and AOP (Aspect Oriented Programming) functions to provide application systems The declarative security access control function reduces the work of writing a lot of repetitive code for enterprise system security control.

The predecessor of Spring Security is Acegi Security, which is based on Spring

Guess you like

Origin blog.csdn.net/ityouknow/article/details/108729137