Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-9451 On demand authentication expiration and re-authentication
  3. GEODE-9457

Investigate the behavior of CQ when authentication expires.

    XMLWordPrintableJSON

Details

    Description

      To ensure CQ message delivery when a user expires, we need to:

      1. authorize the message when dispatching the message.
      2. catch the AuthExpiredException and send REAUTHENTICATE message to the client
      3. The client gets that message and re-authenticate
      4. the message dispatcher will use the new subject to authorize the message again and try deliver
      5. if client didn't re-authenticate back in a timely manner, the proxy should close the connection
      6. make sure this also works in multi-user mode

      To have the message dispatcher to use the newly updated user to authorize the message, we need to be able to associate the new userId with the old userId. This would require

             7: have the AuthenticateUserOp send the old userId if exists

      make sure to include tests in multi-server cases

      Attachments

        Issue Links

          Activity

            People

              jinmeiliao Jinmei Liao
              jinmeiliao Jinmei Liao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: