基于REST与Shiro的遗留系统再工程技术研究
发布时间:2018-03-16 16:15
本文选题:遗留系统再工程 切入点:Web服务 出处:《太原理工大学》2014年硕士论文 论文类型:学位论文
【摘要】:遗留系统再工程为遗留系统的复用提供了现实可行的途径,可将现存的遗留系统重新构造为新的形式。随着互联网及软件工程技术的迅猛发展,Web服务给遗留系统再工程提供了一种很好的解决方案。传统的RPC(Remote Procedure Call,简称RPC)式Web服务,接口设计复杂且很难标准化,而基于表述性状态转移(Representational State Transfer,简称REST)的设计原则更契合Web服务复用的理念。面向资源架构的REST风格渐已成为Web服务设计趋势的主流,然而在复杂的互联网环境下Web服务的安全性显得尤其重要,Shiro作为一个强大而灵活的安全框架,具有直观和易于使用的特性,集成Shiro至遗留系统,可以简化应用程序的安全操作。 本课题针对传统的RPC式Web服务存在的缺陷,引入REST风格的Web服务至遗留系统再工程领域,并且结合Shiro安全框架能够加强遗留系统的身份认证的安全性以及权限控制的灵活性,从而保证REST服务的安全性,为此,本文提出一种基于REST与Shiro的遗留系统再工程技术方案。 本文首先分析遗留系统再工程的国内外研究现状,对遗留系统、软件再工程、Web服务以及Shiro框架等背景知识作出详细的阐述,对比了几种不同的Web服务方式,引出REST风格的Web服务的特征,在分析其优势的基础上,从设计的角度详细分析了REST式Web服务理论及相关技术。文中详细阐述了基于REST与Shiro的遗留系统再工程技术方案,结合实际项目背景,设计并实现了基于Shiro重构身份认证以及统一用户管理系统权限的实例以及基于REST包装“账户”服务的实例。通过实例验证说明REST与Shiro在遗留系统再工程中应用的优越性。
[Abstract]:The reengineering of legacy systems provides a practical and feasible way for the reuse of legacy systems. With the rapid development of Internet and software engineering technology, web services provide a good solution for legacy system reengineering. Interface design is complex and difficult to standardize, and the design principle based on representation state transfer representational State transfer (rest) accords with the idea of Web service reuse. REST style oriented to resource architecture has become the mainstream of Web service design trend. However, in the complex Internet environment, the security of Web services is particularly important. As a powerful and flexible security framework, Shiro has intuitive and easy-to-use features. Integrating Shiro to legacy systems can simplify the secure operation of applications. Aiming at the defects of the traditional RPC Web service, this paper introduces REST style Web service to the reengineering field of legacy system, and combines the Shiro security framework to strengthen the security of identity authentication and the flexibility of privilege control of legacy system. In order to ensure the security of REST service, this paper proposes a reengineering scheme of legacy system based on REST and Shiro. This paper first analyzes the domestic and international research status of legacy system reengineering, describes the background knowledge of legacy system, software reengineering web service and Shiro framework in detail, and compares several different ways of Web service. Based on the analysis of the advantages of REST style Web service, the theory and related technologies of REST Web service are analyzed in detail from the point of view of design. The reengineering technical scheme of legacy system based on REST and Shiro is described in detail in this paper. Against the background of the actual project, An example of reconstructing identity authentication and unified user management system authority based on Shiro and an example of packaging "account" service based on REST are designed and implemented. The advantages of REST and Shiro in reengineering of legacy system are illustrated by example verification.
【学位授予单位】:太原理工大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.09
【参考文献】
相关期刊论文 前4条
1 崔建峰;李小庆;;一种基于SOA的单机遗留系统再工程过程模型[J];青岛农业大学学报(自然科学版);2012年03期
2 李决龙;张淼淼;邢建春;杨启亮;;遗留系统的服务识别方法研究[J];计算机集成制造系统;2013年09期
3 王伟;杨庚;张迎周;孔华云;;基于程序切片和服务构件的语义Web服务组合[J];计算机技术与发展;2011年11期
4 胡文江;姜郁峰;高永兵;;数据库遗留系统向Web Services的半自动迁移[J];计算机技术与发展;2014年01期
,本文编号:1620678
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/1620678.html