Click to download the PDF version of the "Follow me Shiro" tutorial . For learning and communication use, please do not use for any other commercial purposes.
Shiro catalog
Chapter 1 Introduction to Shiro
Chapter 6 Realm and Related Objects
Chapter 7 Integration with the Web
Chapter 8 Interceptor Mechanism
Chapter 12 Integration with Spring
Chapter 16 Comprehensive Examples
Chapter 18 Control of the number of concurrent logins
Chapter 19 Dynamic URL Permission Control
Chapter 20 Stateless Web Application Integration
Chapter 21 Granting Identity and Switching Identity
Chapter 22 Integrated Verification Code
Chapter 23 Multi-project centralized authority management and distributed sessions
Chapter 24 Online Session Management
The example project is a Maven project, which requires an understanding of Maven basics.
Example source code: https://github.com/zhangkaitao/shiro-example ; add qun 231889722 to discuss Spring/Shiro technology.
Shiro related articles
Permission basis
ITeye Forum Discussion on Permission Control
Other related articles
Shiro official recommendation information
Shiro Reference Manual Chinese Version
Huang Yong's Shiro source code analysis
Shiro source code analysis of Dead_knight
After Shiro+Struts2+Spring3 plus @RequiresPermissions, @Autowired is invalid
Simple shiro extension to realize NOT, AND, OR permission verification
After integrating Shiro, the session will be lost when encountering a 404 error
In the velocity template file, implement shiro permission verification
Projects using Shiro
springside
springside : It is a reference example of JavaEE application in Pragmatic style with Spring Framework as the core. It is a summary and demonstration of mainstream technology selection, best practice in the JavaEE world.
springrain
springrain : springrain is a minimalist package of spring, an example of one-stop spring development.
Detailed explanation of springrain technology (1)-shiro basic permission control
Detailed explanation of springrain technology (2)-authority table structure
Detailed explanation of springrain technology (3)-shiro's filterChainDefinitions
Detailed explanation of springrain technology (4) - shiro's cache
Detailed explanation of springrain technology (5)-shiro's httpSession
IS
JavaEE project development scaffolding : ES is a rapid development scaffolding for JavaEE enterprise-level projects, providing low-level abstraction and general functions, ready to use.