您的位置:首页 > 理论基础 > 计算机网络

shiro自定义filter之BasicHttpAuthenticationFilter解读

2015-03-31 10:41 2663 查看
通过creattoken,容器获取验证信息。通过onAccessDenied处理验证失败的处理方法。

遇到比较特别的移动开发需求,不得不求助于自定义filter来实现了。

更多细节参考BasicHttpAuthenticationFilter源码

https://shiro.apache.org/static/1.2.3/apidocs/org/apache/shiro/web/filter/authc/BasicHttpAuthenticationFilter.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息