Book a Demo

Author Topic: AOM in UML  (Read 9661 times)

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
AOM in UML
« on: June 13, 2007, 06:40:01 am »
I've been considering the modeling of cross cutting concerns in UML.  My moniker for this is Aspect Oriented Modeling [AOM].  At present, I'm looking at how AOM may be accomplished in State Diagrams.  For example, consider the login-granted privileges that constrain the states and transitions available to a user of an application.

I'm wondering:
  • Has anyone in this forum has given consideration to this topic and found a way to accomplish this?
  • Would you consider a privilege to be a state?
  • How would you handle modeling concurrent privileges?
  • Would you consider the granting of multiple privileges to be multiple concerns or a composite concern?
  • What approach would you take?
Thank you
Jim
Verbal Use Cases aren't worth the paper they are written upon.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: AOM in UML
« Reply #1 on: June 13, 2007, 10:12:19 am »
Priviledge as in what allows a role to do what it may?
No, you can't have it!

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: AOM in UML
« Reply #2 on: June 13, 2007, 02:39:53 pm »
Quote
Priviledge as in what allows a role to do what it may?
Yes.  Perhaps some users may only read, others might be allowed to update information, etc.
Verbal Use Cases aren't worth the paper they are written upon.

thomaskilian

  • Guest
Re: AOM in UML
« Reply #3 on: June 13, 2007, 09:14:33 pm »
Quote
I'm wondering:
  • Has anyone in this forum has given consideration to this topic and found a way to accomplish this?

Not yet
Quote
  • Would you consider a privilege to be a state?

Not really. A privilege is a class (aka token or key) which allows access to certain areas.
Quote
  • How would you handle modeling concurrent privileges?

This is means of the class implementation. A key chain is a good example.
Quote
  • Would you consider the granting of multiple privileges to be multiple concerns or a composite concern?

Taking the key chain you have one key per secured object. This is best represented as a n-m relation.
Quote
  • What approach would you take?

See above.

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: AOM in UML
« Reply #4 on: June 14, 2007, 08:18:42 am »
Quote
Not really. A privilege is a class (aka token or key) which allows access to certain areas.
Agreed. However, once access has been granted to certain (cross cutting) areas, the system transitions into a state where such access is activated.
Verbal Use Cases aren't worth the paper they are written upon.

thomaskilian

  • Guest
Re: AOM in UML
« Reply #5 on: June 14, 2007, 11:20:11 am »
Okay. But for what purpose do you want to model this system state? I probably miss here some background.

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: AOM in UML
« Reply #6 on: June 15, 2007, 12:14:53 pm »
Quote
Okay. But for what purpose do you want to model this system state? I probably miss here some background.
My example of login privileges is only an instance of a more abstract issue;  that of Aspect Oriented System Design [AOSD]. If you need back ground on that try this link to  Aspect Oriented Programming

I'm interested in the more abstract issue of modeling Cross Cutting Concerns in UML.    Jacobson demonstrates AOSD at the Use Case Level where use case Slices keep concerns separated.  It would seem useful to produce Protocol State Charts that support the Use Case Slices.

Does this help Thomas?
Verbal Use Cases aren't worth the paper they are written upon.

thomaskilian

  • Guest
Re: AOM in UML
« Reply #7 on: June 16, 2007, 12:01:15 pm »
Phew - looks like a lot of background I'm missing here. I had a quick look at the text you referenced and I will probably not be able to give you a meaningful feedback on a short term :( (Well, actually it looks like a new aspect of the wheel to me and I currently can't afford the time to study that aspect in more detail.)
« Last Edit: June 16, 2007, 12:01:49 pm by thomaskilian »

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: AOM in UML
« Reply #8 on: June 16, 2007, 12:27:52 pm »
Understandable Tom.  

Although there is a growing advocacy for AOP, it is still (commercially)an emerging technology.  

I just enjoy living on the bleeding edge.  ;)
Verbal Use Cases aren't worth the paper they are written upon.

thomaskilian

  • Guest
Re: AOM in UML
« Reply #9 on: June 16, 2007, 01:18:19 pm »
I know. Most times it's like professors talk when you're communicating with Paolo. Maybe he will take over the discussion  :)