发明授权
US07574698B2 Method and apparatus for protecting HTTP session data from data crossover using aspect-oriented programming
有权
使用面向方面编程来保护HTTP会话数据免受数据交叉的方法和装置
- 专利标题: Method and apparatus for protecting HTTP session data from data crossover using aspect-oriented programming
- 专利标题(中): 使用面向方面编程来保护HTTP会话数据免受数据交叉的方法和装置
-
申请号: US11154161申请日: 2005-06-16
-
公开(公告)号: US07574698B2公开(公告)日: 2009-08-11
- 发明人: Arun Kumar , Rohit Singh
- 申请人: Arun Kumar , Rohit Singh
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Michael R. Nichols; Casimer K. Salys
- 主分类号: G06F9/44
- IPC分类号: G06F9/44 ; G06F15/16 ; G06F11/00
摘要:
A method, computer program product, and data processing system for detecting and identifying data crossover errors in servlet code are disclosed. According to a preferred embodiment, techniques of aspect-oriented programming (AOP) are used to instrument JAVA Servlet code to detect potential data crossover errors. Specifically, pointcuts are defined to intercept both the association follow an object with a particular session and the “getting” and “setting” of such objects. Advice code associated with these pointcuts is used to update and/or consult a “collator” data structure, which is used to determine if an object or variable associated with one session is being accessed by a different session. In a preferred embodiment, the AspectJ aspect-oriented programming language/system is used to define the pointcuts and advice code.
公开/授权文献
信息查询