摘要
现有的Web应用框架在一定程度上能够降低业务逻辑处理的难度,但缺乏页面细粒度授权机制的支持,对页面及页面上操作的访问控制问题仍要编写大量代码处理.本文设计并实现了一种面向细粒度授权机制的Web页面自动生成器(Web Pages Automatically Generator)WPAG.该生成器采用组件化页面自动生成技术,与基于角色的细粒度访问控制模型相结合.开发者只需对交互模型接口进行简单参数设置,即可实现细粒度访问控制的页面代码自动生成,并提供二次开发能力,适应复杂的逻辑业务的应用.
The current framework of the existing Web application, to a certain extent, reduce the difficulty of dealing with business logic, but lack the pages of line - grained authorization mechanism to support, which still have to deal with the preparation of a large number code to control the access. This paper designed and implemented a mechanism for fine - grained authorization of web pages automatically generator. The generator use the technology that can generate pages automatically , which combined with the fine - grained role - based access control model . A developer just need to set a simple parameters of interactive model , and will get automatica generation of pages to achieve fine - grained access control code and provide secondary devel- opment ability , to adapt to the application of complex business logic.
出处
《重庆文理学院学报(自然科学版)》
2008年第5期28-31,共4页
Journal of Chongqing University of Arts and Sciences