Official website: http://docs.spring.io/spring-security/site/docs/4.0.x/reference/htmlsingle/
Definition: Spring security is a secure framework that provides declarative, secure access control solutions for spring-based enterprise applications. It provides a set of beans that can be configured in the context of the spring application, taking full advantage of the spring Ioc,di (control inversion inversion of controls, di:dependency injection Dependency injection) and AOP (aspect-oriented programming) capabilities provide declarative, secure access control for application systems, reducing the effort to write large amounts of repetitive code for enterprise system security controls.
Personal: Is security authentication, resource interception, login verification and so on ...
First, the official website default Spring-security.xml configuration is basically simple, the flexibility is poor
Second, to increase the verification code authentication---custom, modify the relevant methods
1,spring-security.xml Configuration
View Code
Verification Code interception:
View Code
Introduction to the use of Spring Security (formerly Acegi Security)