现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2014年
8期
105-107
,共3页
权限设计%组件%拦截器%AOP%Struts2
權限設計%組件%攔截器%AOP%Struts2
권한설계%조건%란절기%AOP%Struts2
permission design%subassembly%interceptor%AOP%Struts2
权限组件让组件具有自省性,组件能够智能地判断自己的表现形式,不需要依赖于业务程序自身的控制,使其自身的独立性、重用性和易用性大大提高;权限拦截器则可以对访问进行统一拦截,统一判断权限,并能够根据需要随意“插拔”。通过权限组件与权限拦截器的配合工作,程序开发人员可以完全专注于业务的开发,无需意识到权限控制的存在。
權限組件讓組件具有自省性,組件能夠智能地判斷自己的錶現形式,不需要依賴于業務程序自身的控製,使其自身的獨立性、重用性和易用性大大提高;權限攔截器則可以對訪問進行統一攔截,統一判斷權限,併能夠根據需要隨意“插拔”。通過權限組件與權限攔截器的配閤工作,程序開髮人員可以完全專註于業務的開髮,無需意識到權限控製的存在。
권한조건양조건구유자성성,조건능구지능지판단자기적표현형식,불수요의뢰우업무정서자신적공제,사기자신적독립성、중용성화역용성대대제고;권한란절기칙가이대방문진행통일란절,통일판단권한,병능구근거수요수의“삽발”。통과권한조건여권한란절기적배합공작,정서개발인원가이완전전주우업무적개발,무수의식도권한공제적존재。
Permission subassembly has introspection property,can intelligently determine its own form of expression,and does not depend on the control of business program,so its independence,reusability and usability are greatly increased. The permission interceptor can intercept access,judge rights of applicants,and be able to be free to "plug". By cooperation with the permission subassembly and interceptor,developers can fully concentrate their efforts on the development of the business pro-gram,but do not consider the access control.