Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-153271

Session key is incorrect when impersonating user leading to an expired session and logged out of both

    Details

      Description

      Steps to Reproduce

      1. In ROOT/WEB-INF/web.xml update the session-timeout to 2
      2. In portal-ext.properties add session.timeout=2
      3. Start up the portal
      4. Create a new user
      5. Impersonate the new user
      6. Wait 1 minute and assert the original tab shows the session timeout warning
      7. Perform an action on the second tab (impersonated user)
      8. Wait 1 more minute

      Expected Results
      The user is still logged in on both tabs since they were taking actions as the impersonated user.

      Actual Results
      The user is logged out of both tabs and cannot perform any actions as the original or impersonated user.

        Attachments

          Activity

            People

            Assignee:
            mateus.alves Mateus Alves
            Reporter:
            jonathan.mccann Jonathan McCann
            Participants of an Issue:
            Recent user:
            Rafaela Nascimento
            Engineering Assignee:
            Jonathan McCann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 weeks, 1 day ago

                Packages

                Version Package
                7.2.X
                7.3.X
                7.4.3.27 CE GA27
                7.4.3.28 CE GA28
                Master