description

diagrams

A UML sequence diagram of the authentication process is available
here.

comments

The Servlet Specification provides many opportunities for
listening in (using Listeners) or modifying (using Filters)
the request handling process even before the request arrives
at the servlet that will handle it.