源码解析
山上的神仙
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【追寻源码的世界】为什么securityManager要先setAuthenticator()再setRealms()
项目上发现如果在初始化securityManager的时候,只能先setAuthenticator(),再setRealms(),否则在程序认证的时候就会报错 java.lang.IllegalStateException: Configuration error: No realms have been configured! One or more realms must be pres...原创 2020-01-17 14:41:23 · 1125 阅读 · 0 评论 -
【追寻源码的世界】通过Shiro.ini文件获取SecurityManager的过程
故事的背景是:博主正在研究shiro的原理及源码。 本篇博文研究的代码块为: // 创建 securityManager工厂,通过配置文件ini创建 Factory<SecurityManager> factory = new IniSecurityManagerFactory("classpath:Shiro.ini"); SecurityManager securityMa...原创 2019-12-17 23:16:28 · 512 阅读 · 0 评论
分享