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

OSGi events should contain a userID when possible.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.0.8, API 2.0.8
    • JCR Resource 2.0.8, API 2.1.0
    • API, JCR
    • None

    Description

      We're building a system that tracks the user's movements in the system.
      One of the things we're tracking is the OSGi events that are emitted by Sling. These don't contain a userid however.
      Since this all hapens in the JcrResourceListener which is a JCR Observation Listener, getting the userID is fairly straightforward.

      I'll attach a patch that includes this functionality.

      AFAICT this is the only location that emits user generated events, if I missed a spot I'd be happy to try and patch that one as well.

      Attachments

        1. userids-in-events.diff
          12 kB
          Simon Gaeremynck

        Activity

          People

            justinedelson Justin Edelson
            gaeremyncks Simon Gaeremynck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: