- 博客(1)
- 收藏
- 关注
原创 [shiro]CustomCredentialsMatcher使用spring
由于使用时间一次性密码方式需要自定义验证方式,查来查去也不知道怎么在CustomCredentialsMatcher内部使用spring的bean 研究了一下曲线实现了 将SimpleAuthenticationInfo传入需要使用的bean,在CustomCredentialsMatcher使用 List list = info.getPrincipals().asL
2016-01-17 17:31:29 377
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人