mneethiraj commented on code in PR #3928:
URL: https://github.com/apache/polaris/pull/3928#discussion_r2984830090


##########
extensions/auth/ranger/README.md:
##########
@@ -0,0 +1,41 @@
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+
+# Prerequisites
+Ranger authorizer for Polaris requires Apache Ranger version 2.8.0 or later.
+
+# Setup instructions
+1. Enable Ranger authorizer by setting the following property in 
application.properties:
+```
+polaris.authorization.type=ranger
+```
+
+2. Configure Ranger authorizer by setting configurations having name that 
start with "polaris.authorization.ranger." in application.properties, for 
example:
+```
+polaris.authorization.ranger.service-name=dev_polaris
+polaris.authorization.ranger.authz.default.policy.source.impl=org.apache.ranger.admin.client.RangerAdminRESTClient
+polaris.authorization.ranger.authz.default.policy.rest.url=http://ranger-admin:6080

Review Comment:
   With above configurations, Ranger plugin uses following REST API call to 
retrieve authorization policies:
   - `GET 
http://ranger-admin:6080/service/plugins/secure/policies/download/dev_polaris`
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to