shiro
javabro
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
有关shiro 使用HashedCredentialsMatcher 认证器认证过程以及AuthenticationToken与 AuthenticationInfo 如何实现匹配的参考
SimpleAuthenticationInfo 参数 getName() 说明 springMVC springboot 也好,在实例化自定义实现类 Realm是,会调用 无参构造函数。源码中显示赋值name 属性的在类CachingRealm 的构造函数中public CachingRealm() { this.cachingEnabled = true; this.name = getClass().getName() + "_" + INSTANCE_COUNT.g.原创 2020-06-17 11:39:23 · 983 阅读 · 0 评论 -
shiro 使用FormAuthenticationFilter 用于校验用户登录时,所考虑的问题
本人主要说明,在使用shiro filter认证登录时(Authentication)将subject.login(token);放在在filter时的用法,源码一类 AccessControlFilter 中控制访问可以得到,public boolean onPreHandle(ServletRequest request, ServletResponse response, Object mappedValue) throws Exception { return isA原创 2020-06-01 19:04:39 · 1615 阅读 · 0 评论
分享