Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-389

Sharing the Shiro session in a JOC cluster does not work

    XMLWordPrintable

Details

    Description

      Current Situation

      When enabling the sessionDAO with

      sessionDAO = com.sos.auth.shiro.SOSDistributedSessionDAO
      securityManager.sessionManager.sessionDAO = $sessionDAO
      

      and then trying to use a sessionId (access_token) from one instance on another instance a "unknown Session" exception is thrown.

      Desired Behavior

      It should be possible to use a sessionId (access_token) from JOC instance on JOC instance B when the shiro.ini contains

      sessionDAO = com.sos.auth.shiro.SOSDistributedSessionDAO
      securityManager.sessionManager.sessionDAO = $sessionDAO
      

      Patch

      A patch is available here
      Please follow the instruction to install the patch

      Attachments

        Activity

          People

            ur Uwe Risse
            ur Uwe Risse
            Alan Amos Alan Amos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: