Shiro入门3:Shiro主要架构、组件介绍
来源:互联网 发布:电脑网络延迟高 编辑:程序博客网 时间:2024/05/02 01:43
//==============================================================// Shiro//==============================================================|---Spring security,与Spring依赖过于紧密,没有Shiro使用简单|---使用Shiro实现系统的权限管理,有效提高开发效率。||---架构|---subject:主体,可以是用户,也可以是程序,系统需要对主体进行认证、授权|---Security Manager:安全管理器,主体进行认证和授权都是通过security manager进行|---authenticator:认证器,主体进行认证最终通过authenticator进行的|---Authorizer:授权器,主体进行授权最终同工过authorizer进行的|---session manager:web应用中一般是用web容器对session进行管理。shiro也提供一套session管理机制。|---sessionDao:通过这个来管理session数据。针对个性化的session数据的存储需要用到sessionDAO|---cache manager:缓存管理器,主要对session和授权数据进行缓存。将授权数据通过cache manager进行缓存管理。|---realms:领域,域,相当于数据源,通过realm存取认证、授权相关数据。|---在realm中存储授权和认证的逻辑。 |---cryptography:即密码管理,提供了一套加密和解密的组件,方便开发。|---MD5散列算法
此文老猫原创,转载请加本文连接:http://blog.csdn.net/nthack5730/article/details/50964707
更多有关老猫的文章:http://blog.csdn.net/nthack5730
2 0
- Shiro入门3:Shiro主要架构、组件介绍
- Apache Shiro架构介绍
- Shiro架构介绍
- Shiro架构介绍
- Shiro简单入门介绍
- Shiro(一) Shiro架构介绍
- 【shiro进阶】--- shiro架构
- shiro架构
- shiro架构
- Shiro架构
- Apache Shiro 使用手册(一)Shiro架构介绍
- Apache Shiro 使用手册(一)Shiro架构介绍
- Apache Shiro 使用手册(一)Shiro架构介绍
- Apache Shiro 使用手册(一)Shiro架构介绍
- Apache Shiro 使用手册(一)Shiro架构介绍
- Apache Shiro 使用手册(一)Shiro架构介绍
- Apache Shiro 使用手册(一)Shiro架构介绍
- Apache Shiro 使用手册(一)Shiro架构介绍
- as3 时间
- 浅谈PHP类与对象
- 从数据库中导出所有的存储过程的4种方法
- c:if+EL表达式实现新增/编辑共用一个页面
- zookeeper
- Shiro入门3:Shiro主要架构、组件介绍
- 8.1 JavaScript:驾驭网页-DOM
- Offer题5 链表末尾插入&删除指定值&从头到尾打印
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either
- [BZOJ3223]文艺平衡树(平衡树splay)
- Web自动化测试中的接口测试
- armeabi armeabi-v7a mips x86 理解
- HDU 1829 并查集
- 为什么logistic regression要使用sigmoid函数