spring permission control

advantage:

1. Spring Security is developed based on Spring. If the project uses Spring as the foundation, it is more convenient to cooperate with Spring Security to do permissions. Shiro needs to be integrated and developed
with Spring 2. Spring Security has more functions than Shiro, such as security protection
3. Spring Security community resources are relatively richer than Shiro

Disadvantages:

1) Shiro is relatively simple to configure and use, and Spring Security is more complicated to get started.
2) Shiro has low dependency and does not need to rely on any framework or container, and can run independently. Spring Security relies on the Spring container

Guess you like

Origin blog.csdn.net/qq_34462698/article/details/108614452