Method and apparatus for protecting HTTP session data from data crossover using aspect-oriented programming
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented process, comprising: instrumenting a program with a first aspect, wherein the first aspect is associated with a pointcut identifying data accesses and wherein the first aspect is associated with advice code that detects whether a data access will cause data from a first session to be accessed in conjunction with servicing a request associated with a second session, the first session and second session being distinct sessions; providing an associative data structure representing a mapping from objects into identifications of sessions, wherein the advice code consults the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (2)
- Gutzmann, Kurt, Access Control and Session Management in the HTTP Environment, IEEE Internet Computing, Jan./Feb. 2001. p. 26-35, IEEE, USA.
- Liljenstam, Michael & Ogielski, Andy, Crossover Scaling Effcts in Agg. TCP Traffic with Congest. Losses, ACM SIGCOMM Comp.Com.Rev., Nov. 2002, p. 89-100, vol. 32, No. 5.