摘要
权限组件让组件具有自省性,组件能够智能地判断自己的表现形式,不需要依赖于业务程序自身的控制,使其自身的独立性、重用性和易用性大大提高;权限拦截器则可以对访问进行统一拦截,统一判断权限,并能够根据需要随意"插拔"。通过权限组件与权限拦截器的配合工作,程序开发人员可以完全专注于业务的开发,无需意识到权限控制的存在。
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 "plugaquot;. 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.
出处
《现代电子技术》
2014年第8期105-107,共3页
Modern Electronics Technique
基金
国家自然科学基金资助项目(51105172)