
shiro
笨蛋的生活
多走走。笨蛋的生活有一天也会精彩万分
展开
-
shiro实现用户认证
场景是原创 2020-05-29 11:12:11 · 839 阅读 · 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 · 1254 阅读 · 0 评论