Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-12133

Include time spend in authentication in request log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Engine 2.15.8
    • Engine
    • None

    Description

      The request logging is currently triggered by a servlet filter. Filters run after authentication and therefore the time spent in authentication is not included. In addition time spent in anything before authentication (like preprocessors) is not included either.
      We should change RequestLoggerFilter from a filter to an early running Preprocessor. However,currently the RequestLoggerFilter has two purposes - one is the logging and the other one is preparing request and response objects. We need to split that functionality and keep it in the filter - Preprocessors run for every http context, not just Sling so we need to avoid that this code runs outside of Sling's context.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: