170 likes | 310 Vues
UML-BASED WEB ENGINEERING. Aspect-Oriented Modeling of Access Control in Web Applications. Gefei Zhang Joint work with Hubert Baumeister, Nora Koch and Alexander Knapp. Ludwig-Maximilians-Universität M ünchen , Germany WAOM 2005 , Chicago. Motivation & Goal.
E N D
UML-BASED WEB ENGINEERING Aspect-Oriented Modeling of Access Control in Web Applications Gefei ZhangJoint work withHubert Baumeister, Nora Koch and Alexander Knapp Ludwig-Maximilians-Universität München, Germany WAOM 2005, Chicago
Motivation & Goal Access control in Web applications: In current Web engineering methods: entangled with navigation design redundant modeling We propose: viewing access control as a cross-cutting concern using aspects for better modularization Extension of UML-based Web Engineering (UWE)1 by aspect-oriented modeling of access control 1UML’00, IWWOST’01-03, ICWE’03, UML’04
Content UWE overview Example of modeling access control Aspect orientation Conclusions and future work
UWE Approach: Overview Common language for data interchange is a conservative extension of the UML metamodel • An approach for the development of Web applications • Based on UML and the Unified Process UWE metamodel • Supports requirement elicitation, content, navigation, business process, and presentation modeling
UWE Metamodel: Navigation inv: self.oclAsType(ModelElement).behavior.size() = 1 Structure Association (Foundation Core) Class (Foundation Core) +source Link NavigationNode +outLinks 1 * {derived} +target +inLinks 1 * Behavior NavigationNode StateMachine context {derived} behavior 0..1 * Default State Machine
Example: Online Library • Indexes & Menu: public • Journals, Books and Papers: for registered users only
Modularization with Aspects: Syntax Pointcut Advice
Modularization with Aspects: Weaving State Machine of Aspect State Machine of Classes Resulting State Machine
Modularization with Aspects: Metamodel inv: self.oclAsType(ModelElement).behavior.size() = 1 Structure Behavior Aspect StateMachine context behavior {derived} 0..1 *
Aspects of Aspects Pointcut State Machine of AccessControl State Machine of Limit
Summary • Conclusions • modularized modeling • using aspect-oriented state machines • weaving result: substates • metamodel extension • Future Work • formal semantics • tool support • aspect-oriented UML (AO class diagrams for modeling user adaptivity summitted to ICWE’05)
Thanks for your attention!! Questions & Answers We appreciate your feedback ... uwe@pst.ifi.lmu.de
UWE Metamodel: The Big Picture UML 1.5 UWE Model Behavioral Elements Model Behavioral Management Management Elements Adaptation Process Foundation Core Navigation Presentation Conceptual Process Context Environment User Foundation