找传奇、传世资源到传世资源站!

Shiro教程:跟我学Shiro.pdf

8.5玩家评分(1人评分)
下载后可评
介绍 评论 失效链接反馈

from clipboard
目 录写给自己的话.................................................................................................................................. 1目 录 ............................................................................................................................................. 2第一章 SHIRO 简介....................................................................................................................... 5简介 ................................................................................................................................................... 5第二章 身份验证 .......................................................................................................................... 9环境准备............................................................................................................................................ 9登录/退出........................................................................................................................................ 10身份认证流程.................................................................................................................................. 12REALM................................................................................................................................................ 12AUTHENTICATOR 及 AUTHENTICATIONSTRATEGY........................................................................................ 16第三章 授权................................................................................................................................ 20授权方式.......................................................................................................................................... 21授权 ................................................................................................................................................. 21PERMISSION......................................................................................................................................... 24授权流程.......................................................................................................................................... 28AUTHORIZER、PERMISSIONRESOLVER 及 ROLEPERMISSIONRESOLVER .......................................................... 29第四章 INI 配置 .......................................................................................................................... 35根对象 SECURITYMANAGER ................................................................................................................. 35INI 配置............................................................................................................................................ 37第五章 编码/加密....................................................................................................................... 41编码/解码........................................................................................................................................ 41散列算法.......................................................................................................................................... 41加密/解密........................................................................................................................................ 43PASSWORDSERVICE/CREDENTIALSMATCHER.............................................................................................. 44第六章 REALM 及相关对象 ........................................................................................................ 49REALM................................................................................................................................................ 49AUTHENTICATIONTOKEN ........................................................................................................................ 53AUTHENTICATIONINFO........................................................................................................................... 54PRINCIPALCOLLECTION........................................................................................................................... 55AUTHORIZATIONINFO ............................................................................................................................ 58SUBJECT .............................................................................................................................................. 59 跟我学 Shiro——http://jinnianshilongnian.iteye.com/3第七章 与 WEB 集成................................................................................................................... 63准备环境.......................................................................................................................................... 63SHIROFILTER 入口 ............................................................................................................................... 64WEB INI 配置 .................................................................................................................................... 66第八章 拦截器机制 ...................................................................................................................... 74拦截器介绍...................................................................................................................................... 74拦截器链.......................................................................................................................................... 76自定义拦截器.................................................................................................................................. 79默认拦截器...................................................................................................................................... 86第九章 JSP 标签............................................................................................................................ 88第十章 会话管理 ........................................................................................................................ 91会话 ................................................................................................................................................. 91会话管理器...................................................................................................................................... 92会话监听器...................................................................................................................................... 95会话存储/持久化............................................................................................................................ 95会话验证.......................................................................................................................................... 99SESSIONFACTORY ................................................................................................................................ 101第十一章 缓存机制 .................................................................................................................. 103REALM 缓存..................................................................................................................................... 104SESSION 缓存 ................................................................................................................................... 106第十二章 与 SPRING 集成 ........................................................................................................ 107JAVASE 应用.................................................................................................................................... 107WEB 应用........................................................................................................................................ 109SHIRO 权限注解 .............................................................................................................................. 112第十三章 REMEMBERME.......................................................................................................... 114REMEMBERME 配置.......................................................................................................................... 114第十四章 SSL ............................................................................................................................ 117第十五章 单点登录 .................................................................................................................. 120服务器端........................................................................................................................................ 120客户端 ........................................................................................................................................... 122第十六章 综合实例 .................................................................................................................. 126第十七章 OAUTH2 集成 ........................................................................................................... 136 跟我学 Shiro——http://jinnianshilongnian.iteye.com/4服务器端........................................................................................................................................ 137客户端 ........................................................................................................................................... 147第十八章 并发登录人数控制..................................................................................................... 155第十九章 动态 URL 权限控制..................................................................................................... 159第二十章 无状态 WEB 应用集成................................................................................................ 170服务器端........................................................................................................................................ 170客户端 ........................................................................................................................................... 175第二十一章 授予身份及切换身份 ............................................................................................. 179第二十二章 集成验证码............................................................................................................. 184第二十三章 多项目集中权限管理及分布式会话....................................................................... 191部署架构........................................................................................................................................ 191项目架构........................................................................................................................................ 192模块关系依赖................................................................................................................................ 193SHIRO-EXAMPLE-CHAPTER23-POM 模块 ................................................................................................ 194SHIRO-EXAMPLE-CHAPTER23-CORE 模块................................................................................................ 195SHIRO-EXAMPLE-CHAPTER23-SERVER 模块............................................................................................. 196SHIRO-EXAMPLE-CHAPTER23-CLIENT 模块.............................................................................................. 201SHIRO-EXAMPLE-CHAPTER23-APP*模块 ................................................................................................ 208测试 ............................................................................................................................................... 211本示例缺点.................................................................................................................................... 214第二十四章 在线会话管理......................................................................................................... 215

评论

发表评论必须先登陆, 您可以 登陆 或者 注册新账号 !


在线咨询: 问题反馈
客服QQ:174666394

有问题请留言,看到后及时答复