You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by lm...@apache.org on 2017/08/05 14:23:44 UTC

knox git commit: KNOX-789 - Add specific policy definition to Atlas (Nixon Rodrigues via lmccay)

Repository: knox
Updated Branches:
  refs/heads/master 5adc17610 -> d89e03ae3


KNOX-789 - Add specific policy definition to Atlas (Nixon Rodrigues via lmccay)

Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/d89e03ae
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/d89e03ae
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/d89e03ae

Branch: refs/heads/master
Commit: d89e03ae38f3ff85a7c984e842f953f824437d42
Parents: 5adc176
Author: Larry McCay <lm...@hortonworks.com>
Authored: Sat Aug 5 10:23:32 2017 -0400
Committer: Larry McCay <lm...@hortonworks.com>
Committed: Sat Aug 5 10:23:32 2017 -0400

----------------------------------------------------------------------
 .../src/main/resources/services/atlas-api/0.8.0/service.xml  | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/d89e03ae/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/service.xml
----------------------------------------------------------------------
diff --git a/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/service.xml b/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/service.xml
index 38edca9..0711dea 100644
--- a/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/service.xml
+++ b/gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/service.xml
@@ -17,8 +17,16 @@
 
 
 <service role="ATLAS-API" name="atlas-api" version="0.8.0">
+    <policies>
+        <policy role="webappsec"/>
+        <policy role="authentication" name="Anonymous"/>
+        <policy role="rewrite"/>
+        <policy role="authorization"/>
+    </policies>
+
     <routes>
         <route path="/atlas/api/**"/>
     </routes>
+
     <dispatch classname="org.apache.hadoop.gateway.dispatch.PassAllHeadersDispatch"/>
 </service>
\ No newline at end of file