首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
shiro
ikun
创建于2021-07-23
订阅专栏
shiro
暂无订阅
共10篇文章
创建于2021-07-23
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
九、密码比较
> 在realm中 认证成功后会返回 return new SimpleAuthenticationInfo(username,md5, getName()); 
AuthenticationStrategy(身份验证策略) > AuthenticationStrategy 是个无状态的组件,在认证过程中会进行4次调用。
七、ModularRealmAuthenticator 的源码分析和配置
实例,支持对一个或多个Realm实例进行适配。ModularRealmAuthenticator提供了一种可插拔的认证风格,你可以在此处插入自定义Realm实现。 根据策略进行认证结果
六、realm
从shiro 的顶级架构图中就可以看出realm的地位 relam中有很多一般 继承 AuthorizingRealm 也可根据需求自己继承其他的 realm 类 认证:简单理解就是登录 那shiro
五、DelegatingFilterProxy源码分析
DelegatingFilterProxy filter简介:https://www.cnblogs.com/xdp-gacl/p/3948353.html GenericFilterBean中实现
四、spring+shiro 入门
首先搭建springmvc+spring 框架 pom.xml 文件 配置web.xml 配置 application-context.xml spring-mvc.xml 故事到这里就已经搭建好sp
三、入门代码
快速入门代码 https://github.com/apache/shiro/tree/master/samples/quickstart 先创建项目 【红线框起来的,其他文件你先当做没看见】 添加p
二、了解shiro架构 (10 Minute Tutorial on Apache Shiro)
10 Minute Tutorial on Apache Shiro 教程:https://shiro.apache.org/10-minute-tutorial.html#overview 文
一、shiro 简介
今天介绍一个 框架 shiro ,什么是shiro?用shiro可以解决那些问题? 好,接下来 就说说 shiro 现在市面上主流的安全(权限)框架 有 shiro 、spring securit
shiro自定义filter 以及调用
shiro自定义filter 以及调用,首先在web.xml里面配置 Shiro主过滤器本身功能十分强大,其强大之处就在于它支持任何基于URL路径表达式的、自定义的过滤器的执行 Web应用中,Shi