![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
J2EE框架
李昌强
进无止境
展开
-
Apache Shiro Ajax授权登录
Apache Shiro授权登录一般方式为页面提交授权验证,根据严重结果跳转对应URL,但有时登录方式为AJAX请求,所以需要继承FormAuthenticationFilter并重写登录成功onLoginSuccess与登录失败onLoginFailure方法进行相应处理原创 2016-06-10 12:08:03 · 2946 阅读 · 0 评论 -
Apache Shiro 移动端认证回调函数授权登录
J2EE项目开发中,若用到Apache Shiro权限框架,若需为移动端提供登录接口并提供授权认证则需要对移动端提供的登录信息进行处理,封装到token中,然后交由Apache Shiro进行认证回调函数授权登录原创 2016-06-11 22:29:23 · 4287 阅读 · 0 评论