| 1 | # Lemonldap::NG::Manager kinematic |
| 2 | |
| 3 | ## Initialization |
| 4 | |
| 5 | PSGI file |
| 6 | | |
| 7 | +-> Common::PSGI::run() (Manager inheritance) |
| 8 | | |
| 9 | +-> Common::PSGI::new() unless(defined $self) |
| 10 | | |
| 11 | +-> Manager::init() |
| 12 | | | |
| 13 | | +-> Handler::PSGI::Router::init() |
| 14 | | | | |
| 15 | | | +-> Common::PSGI::init() |
| 16 | | | | |
| 17 | | | +-> Handler::PSGI::Base::init() |
| 18 | | | |
| 19 | | +-> Manager::<modules>::addRoutes() |
| 20 | | (module can be one of `Conf`, `Sessions`, `Notifications`) |
| 21 | | | |
| 22 | | +-> Common::PSGI::Router::addRoute() |
| 23 | | |
| 24 | +-> Handler::PSGI::Base::_run() |
| 25 | | |
| 26 | +-> if protected: |
| 27 | Handler::PSGI::Base::_authAndTrace() |
| 28 | |
| 29 | |
| 30 | _Common::PSGI::run()_ returns a subroutine |
| 31 | |
| 32 | ## HTTP responses |
| 33 | |
| 34 | PSGI system launch the previous sub returned by Handler::PSGI::Base::\_run() |
| 35 | |
| 36 | sub |
| 37 | | |
| 38 | +-> if protection is set: |
| 39 | | Lemonldap::NG::Handler::SharedConf::run() |
| 40 | | |
| 41 | +-> Common::PSGI::Router::handler ( Lemonldap::NG::Common::PSGI::Request->new() ) |
| 42 | | |
| 43 | +-> Common::PSGI::Router::followPath() |
| 44 | | |
| 45 | +-> Launch the corresponding Manager::<module> subroutine declared with addRoutes() |
| 46 |