![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shiro
笨蛋的生活
多走走。笨蛋的生活有一天也会精彩万分
展开
-
shiro实现用户认证
场景是原创 2020-05-29 11:12:11 · 813 阅读 · 0 评论 -
shiro实现登录拦截代码
场景是:我现在有一个index.html首页,首页上有两个可以根据url跳转到其他页面的add链接和update链接目前是我只要经过首页,点击连接就能跳转到这俩界面,现在我要add页面经过认证之后了才能进行跳转,否则跳转不过去首页controller层路径映射跳转package com.kuang.controller;import org.apache.shiro.SecurityUtils;import org.apache.shiro.authc.Authenticatio原创 2020-05-29 10:29:06 · 1227 阅读 · 0 评论