shiro
来源:互联网 发布:顶尖数据恢复软件 编辑:程序博客网 时间:2024/06/16 09:26
shiro简介
·应用场景:在用户登录某系统后,因其具备不同的权限,故所拥有的功能按钮菜单等也应各不相同,shiro作为Java的一个安全权限框架,简单易用,备受关注。
·完成内容:认证、授权、加密、会话管理、与web集成、缓存等
·下载:http://shiro.apache.org/
shiro架构
ApplicationCode应用程序,访问shiro的Subject(表示当前用户,判断期其是否登录,登录方式,具备权限,相当于一个门面),而Shiro的核心部分是SecurityManager,负责安全认证与授权(相当于一个管家,),访问安全数据时使用Realm(获取用户信息、权限信息等,相当于SecurityDao)。
来看一张详细内部图:
关于shiro应用,未完待续…
阅读全文
1 2
- shiro
- shiro
- Shiro
- shiro
- shiro
- shiro
- shiro
- Shiro
- Shiro
- shiro
- shiro
- shiro
- shiro
- shiro
- shiro
- shiro
- Shiro
- shiro
- 问题 B: 图像旋转问题
- 数据类型对应的字符数
- STM32输入捕获模式
- Git bash 基本使用及常用命令
- 集成学习之Bootstrap aggregating(Bagging)装袋算法
- shiro
- 头指针链表实现机制
- 十一.发布(本地仓库或者远程仓库)
- 大话数据结构 code第五章 构实现_BiTreeArray
- UVa202-Repeating Decimals
- C语言 链式队列
- atoi函数的实现
- mysql存储过程——游标
- 【英语】--闲散的时光