Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24852

Add UserReference support in Authentication/User providers

    Details

      Description

      EZP-24834 adds concept of UserReference, which avoids the current user to be completely loaded at each request when the user is anonymous.

      However, when authenticated (aka not anonymous), current user is still loaded and serialized with the token in the session. To increase performance and decrease session size, it is needed to take advantage of the new UserReference instead of the whole user object to get rid of the serialization of api user object in sessions, reducing network traffic needed when on memcached / redis for instance.

        Issue Links

          Activity

          Show
          André Rømcke added a comment - Merged: https://github.com/ezsystems/ezpublish-kernel/commit/62c24a0033e712d1101c19887657517ed5bf8fdb
          Hide
          Rui Silva (Inactive) added a comment -

          Sanity tests were executed on this, and no problems were found on the scope of user authentication and sessions.
          Tested and approved by QA for master.

          Show
          Rui Silva (Inactive) added a comment - Sanity tests were executed on this, and no problems were found on the scope of user authentication and sessions. Tested and approved by QA for master.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jérôme Vieilledent (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: