科技广场Issue(5):24-27,4.
基于Struts2拦截器实现权限控制的设计与开发
Design and Development of Access Control Implementation Based on Struts 2 Interceptor
摘要
Abstract
The article discusses the working principle of Struts 2 interceptor technology,and introduces the general configuration and the using method of the interceptor. In view of the common access control problems in the project development and design of access control custom interceptors,the paper designs a general interceptor of custom ac-cess control that has automatic analysis and control of user login,and can dynamically filter and intercept illegal ac-cess login request,which improves the security and robustness of the system. Practice has proved that based on Struts2 interceptor access control model design,the system has a good division of labor,a clearer system structure, which reduces the coupling among modules,simplifies programming,improves the efficiency of software develop-ment and improves its maintainability.关键词
Struts 2/拦截器/权限控制/AOPKey words
Struts 2/Interceptor/Access Control/AOP分类
信息技术与安全科学引用本文复制引用
翟高粤..基于Struts2拦截器实现权限控制的设计与开发[J].科技广场,2016,(5):24-27,4.基金项目
2015校级精品资源共享课程“J2EE开发技术” ()