Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14482

Custom security providers should only sync on relevant login

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.5.0
    • None
    • None
    • Quasar
    • Puma Sprint 254

    Description

      When there is a custom security provider, for example LDAP, after every JCR login a new sync with the external system is done and to the user node the 'last login' field is updated

      However, for a CMS user this only makes sense during the logging in into the CMS, not many times when working within the same (http session) in the CMS : Currently, every new JCR login (which happens for example during Channel Mgr interactions or /ws/ invocations) results in a sync, regardless whether it is a 'real' CMS login

      Technical Details

      Logging in new JCR Sessions for a logged in user happens all the time. This happens via the same Credentials instance (with nullified pwd) stored on the CmsSessionContext.

      Technical Solution

      After the first sync for a Credentials instance, do not sync again any more for a new login with the exact same instance

      Attachments

        Activity

          People

            Unassigned Unassigned
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: