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

Implement Configuration Options for Method Authorizer

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 1.12.0
    • configuration

    Description

      Create a new QueryServiceConfig element at the CacheConfig level to contain any configuration related to the query service, including the custom MethodInvocationAuthorizer.
      The resulting XML element should be as follows:

      <query-service>
       <method-authorizer>
         <class-name>MyClass</class-name>
         <parameter name="myClassAttribute">
           <string>stringValue</string>
         </parameter>
       </method-authorizer>
      </query-service>
      

      Instead of modifying the core cache-1.0.xsd, add another independent xsd file as an extension of the cache’s configuration. An example of how to do this can be seen in jdbc-1.0.xsd.
      This new configuration element and its properties should be stored and retrieved through the cluster configuration service. For more details regarding the interactions with the cluster configuration service see For extension developers: How to Add Elements Managed by Cluster Configuration Service.

      Attachments

        Issue Links

          Activity

            People

              donalevans Donal Evans
              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 - 11h 10m
                  11h 10m