基于JAAS的认证授权系统的设计与实现  

Design and Implementation of Authentication and Authorization System Based on JAAS

在线阅读下载全文

作  者:盛静[1] 

机构地区:[1]长沙职业技术学院信息系,湖南长沙410111

出  处:《计算机技术与发展》2009年第7期184-186,190,共4页Computer Technology and Development

基  金:湖南省自然科学基金项目(05JJ40132)

摘  要:在传统的面向对象程序设计方法中使用JAAS会导致认证和授权代码与业务逻辑的实现代码纠缠在一起,不利于重用和维护。而基于面向方面的软件开发技术——AOP,利用方面封装现有的认证授权逻辑,可以保证业务逻辑和认证授权的有效分离。以现代软件的发展趋势以及传统基于OOP的开发技术为背景研究了JASS认证和授权机制,分析了传统方法的优缺点。利用AOP设计了基于JASS的认证授权系统,并通过原型系统的构造,验证了AOP技术实现认证授权系统的可行性和有效性。In the traditional OOP method, using JAAS makes the codes of authentication and authorization tangle with the business logic which makes the whole system hard to be re'used and maintained. While the new aspect - oriented programming (AOP) method uses aspeers to encapsulate existing authentication and authorization codes which are effectively separated with business logic. Introduces the trend of current software and analyzes characteristics of JAAS mechanism based on OOP. Then it introduces the design of an authentication and authorization system based on AOP technology and proves its feasibility and validity with the construction of a prototype.

关 键 词:面向方面软件开发 认证 授权 ASPECTJ JAAS 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象