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