- 博客(4)
- 收藏
- 关注
原创 关于springboot集成shiro采坑记录
在项目启动的时候总是报错“”org.apache.shiro.ehcache.CacheManager“”not found 然而我确实注入了。检查pom文件也没问题,后来看到SecurityManager和SessionManager Bean猛然发现CacheManager的Bean name为shiroCacheManager,结合springboot基础就明白了,springboot往容...
2018-04-27 18:18:07 300
原创 Shiro认证原理详解
草根猿,仅为自己做个笔记获取subject 执行login()方法查看Subject实现类知,登录过程由SecurityManager代理执行由其实现类DefaultSecurityManager实现接着调用自己的authenticate(token)方法然后SecurityManager的实现将authenticate()方法代理给Authenticator的实现类去实现已知的实现该方法的实现...
2018-04-26 18:21:54 1838 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人