Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-10097

Do not use Thread.sleep in MessageDispatcher for re-authentication feature

    XMLWordPrintableJSON

Details

    Description

      MessageDispatcher uses Thread.sleep and wakes up intervals to recheck authorization to see if new subject has re-logged in or not, if not, it will call "authorize" again and again till timeout. Suggest using "wait/notify" mechanism to wait for the subject to be updated, this way we don't use Thread.sleep and not place unnecessary calls to the security manager.

      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: