Juan José Ramos Cassella created GEODE-6990:
-----------------------------------------------
Summary: 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 José Ramos Cassella
Create a new {{QueryServiceConfig}} element at the {{CacheConfig}} level to
contain any configuration related to OQL, including the custom
{{MethodInvocationAuthorizer}}.
The resulting XML element should look something like the following (*the
properties are just examples for now, will need to refine this ticket once the
section about how to add elements to the cluster configuration service has been
added to the wiki*):
{noformat}
<query-service>
<queryVerbose>true</queryVerbose>
<allowUntrustedMethodInvocation>false</allowUntrustedMethodInvocation>
<method-authorizer>
<class-name>test.Authorizer</class-name>
<parameter name="allowedMethodsDataBaseUrl">
<string>jdbc:mysql://myHost/allowedMethodsDatabase</string>
</parameter>
</method-authorizer>
</query-service>
{noformat}
This new configuration element and its properties should be stored and
retrieved through the cluster configuration service.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)