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

Verify constraints when changing the MethodInvocationAuthorizer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • querying, tests

    Description

      Add concurrent distributed tests to make sure the following conditions are met once there is an API implemented to change the MethodInvocationAuthorizer in runtime:

      • Once a query execution starts, the MethodInvocationAuthorizer used can not be changed for that particular query.
      • Once the MethodInvocationAuthorizer is changed through the API or the alter-query-service command, all queries executed afterwards use the newly configured MethodInvocationAuthorizer.
      • Any continuous query already running should pick up the new MethodInvocationAuthorizer the next time the query is internally executed to detect whether a cache event matches or not. If the continuous query has methods that are not authorized by the newly configured MethodInvocationAuthorizer, then any matching events from that moment on should invoke CqListener.onError instead of CqListener.onEvent.
      • Any configured index should pick up the newly configured MethodInvocationAuthorizer the next time an entry is added or removed from the index (regular region operations), and the index should be marked as invalid if it uses method invocations not authorized by the newly configured MethodInvocationAuthorizer.

      Attachments

        Issue Links

          Activity

            People

              echobravo Ernest Burghardt
              jjramos Juan Ramos
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h