[1]覃茏伟 兰全祥.Spring Security中设计模式的运用浅析[J].大众科技,2023,25(9):1-5.
 Analysis of the Application of Design Patterns in Spring Security[J].Popular Science & Technology,2023,25(9):1-5.
点击复制

Spring Security中设计模式的运用浅析()
分享到:

《大众科技》[ISSN:1008-1151/CN:45-1235/N]

卷:
25
期数:
2023年9
页码:
1-5
栏目:
信息技术与通信
出版日期:
2023-09-20

文章信息/Info

Title:
Analysis of the Application of Design Patterns in Spring Security
作者:
覃茏伟 兰全祥
(攀枝花学院,四川 攀枝花 617000)
关键词:
Spring Security设计模式认证授权
Keywords:
Spring Security design patterns authentication authorization
文献标志码:
A
摘要:
Spring Security作为Web开发中十分重要的安全框架之一,常被用于Web应用的认证和授权。为了进一步了解Spring Security框架的设计和实现,加深对常见设计模式的理解,文章详细介绍了Spring Security框架中策略模式、代理模式、适配器模式、责任链模式、模板方法模式的运用,对上述设计模式的概念、基本原理、作用等进行描述,分析Spring Security中关键类库在设计模式中承担的作用及执行流程,为开发人员提供一定的学习参考。
Abstract:
As one of the most important security frameworks for Web development, Spring Security is often used for authentication and authorization of Web applications. In order to further understand the design and implementation of the Spring Security framework and deepen the understanding of common design patterns, this paper introduces the application of policy pattern, proxy pattern, adapter pattern, responsibility chain pattern and template method pattern in Spring Security framework in detail. This paper describes the concept, basic principle and function of the above design pattern, analyzes the role of key class libraries in Spring Security in the design pattern and the execution process, and provides certain reference for developers.

参考文献/References:

[1] 孙恩斯. Spring Security安全框架应用研究[J]. 信息系统工程,2019(3): 72.[2] 朱运乔. 基于Spring Security认证与授权的Web应用与实现[J]. 电脑编程技巧与维护,2020(11): 14-16.[3] 许俊. 基于策略模式的存储过程使用研究[J]. 四川职业技术学院学报,2017,27(5): 147-150.[4] 卢增宁. 设计模式及其在软件设计中的应用[J]. 信息与电脑(理论版),2020,32(16): 127-129.[5] 高升,方英兰,韩兵,等. 适配器与装饰者模式思想在结构化数据处理中的应用[J]. 北方工业大学学报,2020,32(2): 105-109,116.

相似文献/References:

[1]李黄骏 兰全祥.代理设计模式底层浅析及其在Spring中的应用[J].大众科技,2024,26(2):10.
 [J].Popular Science & Technology,2024,26(9):10.

备注/Memo

备注/Memo:
【收稿日期】2022-11-25【基金项目】四川省高等学校第四批省级创新创业教育示范课程建设项目“Java Web应用开发实训”;2022年全国大学生创新创业训练计划项目(202211360019);2022年校级大学生创新创业训练计划项目(2022cxcy147)。【作者简介】覃茏伟(2002-),男,四川自贡人,攀枝花学院学生,研究方向为软件开发。【通信作者】兰全祥(1990-),男,四川攀枝花人,攀枝花学院讲师,硕士,从事计算机应用研究工作。
更新日期/Last Update: 2023-10-07