Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

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

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to draw login sequence diagram if I use container managed Security?
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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,
 
Leo Gao
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic