Shiro
Shiro是java的一个安全框架,目前,使用Apache Shiro的人越来越多,因为他相当简单,对比Spring Security,可能没有Spring Security强大,但是实际工作中不需要那么复杂的东西,所以使用小而简单的Shiro就足够了
Authentication ,Authorization
Session Manager , Cryptography
Web Support,caching
concurrency ,testing,run as ,Remenber me
Realm :域,Shiro从Realm获取安全数据(用户,角色,权限),就是说SecurityManager要验证用户身份,那么需要从realm获取对应的用户进行比较,可以把realm看成DataSource,安全数据源
- 本文作者: 忘忧症
- 本文链接: https://NepenthesZGW.github.io/2020/09/04/framework/shiro/Shiro/
- 版权声明: 本博客所有文章除特别声明外,均采用 MIT 许可协议。转载请注明出处!