Shiro(Apache Shiro )是一個Java安全框架,有三個核心組件分別是Subject、SecurityManager 和 Realms.shiro。可以運行在web應用、非web應用、集羣分佈式應用中,使用簡單、靈活。
Shiro主要作用:
1、Authentication身份認證/登錄
2、 Authorization授權,即權限驗證
3、 Session Manager會話管理
4、Cryptography加密
5、Web SupportWeb支持
6、Caching緩存
7、Concurrency併發驗證
8、Testing測試支持
(推薦課程:Java入門基礎視頻講解)