Shiro 密码的加密应用(六)

一.密码的比对  (1.1) 按住UsernamePasswordToken到源代码里,设置断点,进行调试.如下所示: (1.2)调试 (1.3)调试CredentialsMatcher接口 选中CredentialsMatcher接口,按住Ctrl+T能查看到有很多加密的方式 总结:  通过AuthenticatingRealm 的credentialsMatcher属性来进行密码比对哦!  
相关文章
相关标签/搜索