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

Make sure all commands are sending back AuthenticationExpiredException as is

    XMLWordPrintableJSON

Details

    Description

      As we have discovered in GEODE-9820, some commands (especially CQ commands) are not sending back `AuthenticationExpiredException` to the client with MessageType.EXCEPTION, hence causing the client not wrapping it in the correct form (See `AbstractOp around L300), We need to:
      1. go over all the commands and find out what commands are NOT handling the `AuthenticationExpiredExcpetion` correctly.
      2. fix these commands, catch `AuthenticationExpiredException` specifically and do a `writeException` (leave all other exception handling intact)
      3. write tests to make sure we are sending the exception to the client.

      #1 would help us determine how many commands are in need of this fix and size this story correctly.

      Attachments

        Issue Links

          Activity

            People

              joris.melchior Joris Melchior
              jinmeiliao Jinmei Liao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: