基于RBAC的用户权限系统的设计与实现
2023-01-17 09:07:32
论文总字数:18489字
摘 要
二十一世纪是世界信息流动的突飞猛进发展的时代,在这个时代,不仅仅是信息的快速发展,而且各个产业的系统管理也都经历了快速的发展,系统资源的安全性和数据安全性非常关键的,因此需要使用用户权限管理系统来管理用户权限,以保证资源的安全性和稳定性。在这个管理系统中的每个环节都很有可能遭受到安全的威胁,访问控制是安全体系中一个关键性的环节。鉴于此,本课题设计开发一个基于RBAC的用户权限系统。
本课题要实现的核心功能有四个管理模块,分别是用户管理、部门管理、角色管理和权限管理。用户管理模块主要是新增用户、删除用户、更新用户和查询用户。部门管理模块主要是新增部门、修改部门和删除部门。角色管理模块主要是新增角色、删除角色、查询角色和更新角色。权限管理模块主要是新增权限、删除权限、更新权限和查询权限。与其他的用户权限系统相比,RBAC的用户权限系统新增了一个角色的属性,可以通过角色给用户赋予相应的权限,简化了用户和权限之间的关系,从而使得该系统易维护、易扩展。
本课题前端主要采用的是Layui框架,后端采用的是SpringBoot框架,使用Java语言开发,采用了IDEA这个开发工具,数据库采用的是MySQL,RBAC算法实现是使用Shiro技术实现的。这个课题的开发过程是严格按照软件工程的思想,进行系统需求分析、系统设计和系统实现。通过本系统的设计和实现,实现了用户与权限的分离,加入了全新的角色属性,有效地提高了管理的灵活性和效率。
关键词: 用户权限系统;RBAC;SpringBoot框架;Layui框架
Design and Implementation of User Permission System Based on RBAC
Abstract
The 21st century is an era of rapid development of the world"s information flow. In this era, not only the rapid development of information, but also the system management of various industries have also experienced rapid development. The security of system resources and data security is very important. Critically, it is necessary to use a user rights management system to manage user rights to ensure the security and stability of resources. Every link in this management system is likely to be threatened by security, and access control is a key link in the security system. In view of this, this subject designs and develops a user authority system based on RBAC.
The core functions to be realized in this subject have four management modules, namely user management, department management, role management and authority management. The user management module is mainly to add users, delete users, update users and query users. The department management module is mainly to add departments, modify departments and delete departments. The role management module is mainly to add roles, delete roles, query roles, and update roles. The authority management module mainly includes adding authority, deleting authority, updating authority and query authority. Compared with other user permission systems, RBAC’s user permission system has a new role attribute. Users can be given corresponding permissions through roles, which simplifies the relationship between users and permissions, making the system easy to maintain and easy to maintain. Extension.
The front-end of this subject mainly uses the Layui framework, and the back-end uses the SpringBoot framework, which is developed in Java language, using IDEA as a development tool, the database is MySQL, and the RBAC algorithm is implemented using Shiro technology. The development process of this subject is to carry out system requirement analysis, system design and system realization in strict accordance with the idea of software engineering. Through the design and implementation of this system, the separation of users and permissions has been realized, a brand-new role attribute has been added, and the flexibility and efficiency of management have been effectively improved.
Keywords: User permission system;RBAC;SpringBoot framework;Layui framework
目录
摘 要 I
Abstract II
第一章 绪论 1
1.1论文的工作背景和意义 1
1.2现状研究 1
1.3主要工作内容 1
1.4论文组织结构 2
第二章 开发工具和相关技术 3
2.1开发工具 3
2.2相关技术 3
2.3本章小结 4
第三章 系统分析 5
3.1系统总体需求分析 5
3.2系统功能性需求分析 5
3.2.1用户管理 5
3.2.2部门管理 6
3.2.3角色管理 6
3.2.4权限管理 7
3.3系统的非功能性需求分析 7
3.4本章小结 7
第四章 系统设计 9
4.1系统模块设计 9
4.1.1用户管理 9
4.1.2部门管理 10
4.1.3角色管理 11
4.1.4权限管理 12
4.2数据库的设计 13
4.3 RBAC算法的设计 15
4.4本章小结 17
第五章 系统的实现 18
5.1用户管理模块 18
5.2部门管理模块 21
5.3角色管理模块 24
5.4权限管理模块 28
5.5本章小结 31
第六章 总结与展望 32
6.1总结 32
6.2展望 32
致谢 33
参考文献 34
附录 35
剩余内容已隐藏,请支付后下载全文,论文总字数:18489字