Access control is a fundamental element of the security infrastructure of any company. Every security officer wants to apply the principle of less pri ...
分类:
数据库 时间:
2020-02-12 16:37:04
阅读次数:
127
此篇基于 SpringBoot 整合 Shiro & Jwt 进行鉴权 相关代码编写及解析 首先我们创建 JwtFilter 类 继承自 BasicHttpAuthenticationFilter 重写4个重要的方法 其执行顺序亦是如下 1. preHandle(..) 前置处理 2. isAcce ...
分类:
其他好文 时间:
2020-02-12 16:34:09
阅读次数:
159
Trial and Error 可以被翻译为试错,更白话一些就是不断尝试,不断犯错,继续尝试,继续犯错,一直进行下去,直到作对了。 有一篇英文文章讲解的不错,特在此分享,原文链接: http://www.exforsys.com/career-center/problem-solving/the-u ...
分类:
其他好文 时间:
2020-02-12 00:27:43
阅读次数:
66
Jenkins权限需求分析 Jenkins需要不同纬度进行权限区分 不同项目 项目名1,项目名2,项目名3 不同类型 Back,Font,H5,iOS,安卓 不同阶段 开发,测试,生产 通过Role Based进行权限需要根据Jenkins命名 命名项目为 Name_Plantform_UseWay ...
分类:
其他好文 时间:
2020-02-10 13:31:33
阅读次数:
64
首先,先建立四个表 角色表 权限表 角色与权限关系表 员工与角色表 然后使用插件生成pojo类以及映射文件并把xml文件移动到recourses文件中,接下来编写前端页面,跟之前编写的员工前端页面差不多 role.jsp <%--工具栏--%> <div id="toolbar"> <a href= ...
分类:
编程语言 时间:
2020-02-09 14:24:16
阅读次数:
79
官网:www.fhadmin.org 特别注意: Springboot 工作流 前后分离 + 跨域 版本 (权限控制到菜单和按钮) 后台框架:springboot2.1.2+ activiti6.0.0+ mybaits+maven+接口 前端页面:html +vue.js 形式 jquery aj ...
分类:
编程语言 时间:
2020-02-06 10:27:09
阅读次数:
77
在家无聊复习一下shiro 打开了之前的项目,由于lombok插件安装不了,不知道idea抽什么风所以get,set方法报错了,将就一下 只看shiro的使用,配置在shiro分类中有 登录方法 package com.zys.sys.controller; import com.zys.sys.c ...
分类:
其他好文 时间:
2020-02-03 20:55:36
阅读次数:
150
最近又写了一次SpringBoot整合ApacheShiro注解版,比起spring security,项目体量不大的话还是shiro好 ...
分类:
其他好文 时间:
2020-02-03 19:20:06
阅读次数:
73