[ 
https://issues.apache.org/jira/browse/GEODE-6990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973630#comment-16973630
 ] 

ASF subversion and git services commented on GEODE-6990:
--------------------------------------------------------

Commit 2cfcdc9b63822732d3bf8e2aad17eb7d7670cd68 in geode's branch 
refs/heads/develop from BenjaminPerryRoss
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=2cfcdc9 ]

GEODE-6990: Add xml persistence for OQL authorization (#4161)

- Added new cache.xml infrastructure for query-config-service including the
method authorizer
- Added a new CacheService QueryConfigurationService to store long
lasting configuration details for the QueryService
- Added testing for both of the above

Co-authored-by: Benjamin Ross <[email protected]>
Co-authored-by: Donal Evans <[email protected]>

> Implement Configuration Options for Method Authorizer
> -----------------------------------------------------
>
>                 Key: GEODE-6990
>                 URL: https://issues.apache.org/jira/browse/GEODE-6990
>             Project: Geode
>          Issue Type: New Feature
>          Components: configuration
>            Reporter: Juan Ramos
>            Assignee: Donal Evans
>            Priority: Major
>              Labels: GeodeCommons
>          Time Spent: 11h 10m
>  Remaining Estimate: 0h
>
> 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:
> {noformat}
> <query-service>
>  <method-authorizer>
>    <class-name>MyClass</class-name>
>    <parameter name="myClassAttribute">
>      <string>stringValue</string>
>    </parameter>
>  </method-authorizer>
> </query-service>
> {noformat}
> 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}}|https://github.com/apache/geode/blob/rel/v1.9.0/geode-connectors/src/main/resources/META-INF/schemas/geode.apache.org/schema/jdbc/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|https://cwiki.apache.org/confluence/display/GEODE/For+extension+developers%3A+How+to+Add+Elements+Managed+by+Cluster+Configuration+Service].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to