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

throw and handle AuthenticationExpiredException at login time

    XMLWordPrintableJSON

Details

    Description

      There is a time gap between credentials are gathered at the client and credentials are examined on the server, if between this time period, credentials expired (rare case, but it does happen a lot during stress tests, see `AuthExpirationMultiServerDunitTest.consecutivePut` test), client operations might fail during the operations (even after user is authenticated, doing a put/get might need to open new connections and require authentication again). So we should allow "authenticate" method also throw AuthExpirationException if they want to give client a chance to retry (only retry once).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: