This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes How to draw login sequence diagram if I use container managed Security? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "How to draw login sequence diagram if I use container managed Security?" Watch "How to draw login sequence diagram if I use container managed Security?" New topic
Author

How to draw login sequence diagram if I use container managed Security?

Leo Gao
Greenhorn

Joined: Jun 12, 2007
Posts: 7
How to draw login sequence diagram if I use container managed Security?
Ricardo Ferreira
Ranch Hand

Joined: Feb 13, 2006
Posts: 156
Originally posted by Leo Gao:
How to draw login sequence diagram if I use container managed Security?


Container Managed Security is nothing more that aspect oriented programming. Every container interception as security, transaction and so on, are application of the AOP tecnique at container managed components like EJB's.

Have said that, you can create your design based on AOP modeling and architecture, which means that you must use Pointcut and Avisor sequence diagrams.

But, IMHO, I would not give so much detail at the sequence diagram, instead, I would provide more 'business view' for those diagrams, once the technical architecture could abstract these details.

Regards,


Ricardo Ferreira,<br /> <br />Sun Certified Enterprise Architect<br />IBM Certified SOA Solution Designer<br />IBM Certified RUP v7.0 Solution Designer<br />IBM Certified Specialist for RUP v2003
Leo Gao
Greenhorn

Joined: Jun 12, 2007
Posts: 7
As I konw, for example,Container managed secutiy uses a form for login, and web container will handle the atuthentication process based on db or ldap( this will be setup in the confige xml file including roles...). After login, the user principal will be propogated into EJB contianer automatically.

So, If I want to draw the login sequence diagram, it is too sample, just a web form.

Or I won't draw it, just metion it in the technical doc.

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to draw login sequence diagram if I use container managed Security?