基于REST與Shiro的遺留系統(tǒng)再工程技術(shù)研究
發(fā)布時(shí)間:2018-03-16 16:15
本文選題:遺留系統(tǒng)再工程 切入點(diǎn):Web服務(wù) 出處:《太原理工大學(xué)》2014年碩士論文 論文類型:學(xué)位論文
【摘要】:遺留系統(tǒng)再工程為遺留系統(tǒng)的復(fù)用提供了現(xiàn)實(shí)可行的途徑,可將現(xiàn)存的遺留系統(tǒng)重新構(gòu)造為新的形式。隨著互聯(lián)網(wǎng)及軟件工程技術(shù)的迅猛發(fā)展,Web服務(wù)給遺留系統(tǒng)再工程提供了一種很好的解決方案。傳統(tǒng)的RPC(Remote Procedure Call,簡稱RPC)式Web服務(wù),接口設(shè)計(jì)復(fù)雜且很難標(biāo)準(zhǔn)化,而基于表述性狀態(tài)轉(zhuǎn)移(Representational State Transfer,簡稱REST)的設(shè)計(jì)原則更契合Web服務(wù)復(fù)用的理念。面向資源架構(gòu)的REST風(fēng)格漸已成為Web服務(wù)設(shè)計(jì)趨勢的主流,然而在復(fù)雜的互聯(lián)網(wǎng)環(huán)境下Web服務(wù)的安全性顯得尤其重要,Shiro作為一個(gè)強(qiáng)大而靈活的安全框架,具有直觀和易于使用的特性,集成Shiro至遺留系統(tǒng),可以簡化應(yīng)用程序的安全操作。 本課題針對(duì)傳統(tǒng)的RPC式Web服務(wù)存在的缺陷,引入REST風(fēng)格的Web服務(wù)至遺留系統(tǒng)再工程領(lǐng)域,并且結(jié)合Shiro安全框架能夠加強(qiáng)遺留系統(tǒng)的身份認(rèn)證的安全性以及權(quán)限控制的靈活性,從而保證REST服務(wù)的安全性,為此,本文提出一種基于REST與Shiro的遺留系統(tǒng)再工程技術(shù)方案。 本文首先分析遺留系統(tǒng)再工程的國內(nèi)外研究現(xiàn)狀,對(duì)遺留系統(tǒng)、軟件再工程、Web服務(wù)以及Shiro框架等背景知識(shí)作出詳細(xì)的闡述,對(duì)比了幾種不同的Web服務(wù)方式,引出REST風(fēng)格的Web服務(wù)的特征,在分析其優(yōu)勢的基礎(chǔ)上,從設(shè)計(jì)的角度詳細(xì)分析了REST式Web服務(wù)理論及相關(guān)技術(shù)。文中詳細(xì)闡述了基于REST與Shiro的遺留系統(tǒng)再工程技術(shù)方案,結(jié)合實(shí)際項(xiàng)目背景,設(shè)計(jì)并實(shí)現(xiàn)了基于Shiro重構(gòu)身份認(rèn)證以及統(tǒng)一用戶管理系統(tǒng)權(quán)限的實(shí)例以及基于REST包裝“賬戶”服務(wù)的實(shí)例。通過實(shí)例驗(yàn)證說明REST與Shiro在遺留系統(tǒng)再工程中應(yīng)用的優(yōu)越性。
[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.
【學(xué)位授予單位】:太原理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP393.09
【參考文獻(xiàn)】
相關(guān)期刊論文 前4條
1 崔建峰;李小慶;;一種基于SOA的單機(jī)遺留系統(tǒng)再工程過程模型[J];青島農(nóng)業(yè)大學(xué)學(xué)報(bào)(自然科學(xué)版);2012年03期
2 李決龍;張淼淼;邢建春;楊啟亮;;遺留系統(tǒng)的服務(wù)識(shí)別方法研究[J];計(jì)算機(jī)集成制造系統(tǒng);2013年09期
3 王偉;楊庚;張迎周;孔華云;;基于程序切片和服務(wù)構(gòu)件的語義Web服務(wù)組合[J];計(jì)算機(jī)技術(shù)與發(fā)展;2011年11期
4 胡文江;姜郁峰;高永兵;;數(shù)據(jù)庫遺留系統(tǒng)向Web Services的半自動(dòng)遷移[J];計(jì)算機(jī)技術(shù)與發(fā)展;2014年01期
,本文編號(hào):1620678
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1620678.html
最近更新
教材專著