Page is not cached and user is authorized
- Dispatcher determines that the content is not cached or requires updating.
- Dispatcher forwards the original request to the render.
- The render calls the AEM authorizer servlet (this servlet is not the Dispatcher AuthChcker servlet) to perform a security check. When the user is authorized, the render includes the rendered page in the body of the response message.
- Dispatcher forwards the response to the browser. Dispatcher adds the body of the render’s response message to the cache.
User is not authorized
- Dispatcher checks the cache.
- Dispatcher sends a request message to the render that includes all header lines from the browser’s request.
- The render calls the Auth Checker servlet to perform a security check, which fails, and the render forwards the original request to Dispatcher.
- Dispatcher forwards the original request to the render.
- The render calls the AEM authorizer servlet (this servlet is not the Dispatcher AuthChcker servlet) to perform a security check. When the user is authorized, the render includes the rendered page in the body of the response message.
- Dispatcher forwards the response to the browser. Dispatcher adds the body of the render’s response message to the cache.