This action will force synchronization from shenzhanwang/Spring-shiro, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
为了给MIS系统添加一套较为通用的权限控制功能,本项目基于Spring,整合Apache Shiro框架,实现用户管理和权限控制,主要内容如下:
1.登录(带验证码),包括“记住我”的功能;
2.加密,存储的密码不采用明文,初始密码123;
3.session管理:使用shiro默认的session管理替代Tomcat的HttpSession;
4.shiro拦截器:对静态文件(HTML/JS/CSS等)进行权限控制,无权限则请求不到;
5.后台接口权限控制:对后台接口启用权限控制,对应的借口若不满足权限或角色要求,则请求失败;
6.用户-角色-权限使用常规RBAC的模型,用户到角色,角色到权限均为多对多关系映射。
效果图:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。