<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Edit service authorization in Knox in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100012#M13038</link>
    <description>&lt;P&gt;You may find Sample 5 in my recent blog here helpful.&lt;/P&gt;&lt;P&gt;&lt;A href="http://kminder.github.io/knox/2015/11/18/knox-with-activedirectory.html"&gt;http://kminder.github.io/knox/2015/11/18/knox-with...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The only quick tip I can give you here without more information is that your authorization provider configuration should probably look like this. 
&lt;/P&gt;&lt;PRE&gt;    &amp;lt;provider&amp;gt;
      &amp;lt;role&amp;gt;authorization&amp;lt;/role&amp;gt;
      &amp;lt;name&amp;gt;AclsAuthz&amp;lt;/name&amp;gt;
      &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;
      &amp;lt;param name="WEBHBASE.acl" value="admin;*;*"/&amp;gt;
    &amp;lt;/provider&amp;gt;&lt;/PRE&gt;&lt;P&gt;For your custom services all you need to do is match the value before the ".acl" with the role of your custom service.  This example may help clarify.
&lt;/P&gt;&lt;PRE&gt;    &amp;lt;provider&amp;gt;
      &amp;lt;role&amp;gt;authorization&amp;lt;/role&amp;gt;
      &amp;lt;name&amp;gt;AclsAuthz&amp;lt;/name&amp;gt;
      &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;
      &amp;lt;param name="WEBHBASE.acl" value="admin;*;*"/&amp;gt;
      &amp;lt;param name="CUSTOM.acl" value="guest;*;*"/&amp;gt;
    &amp;lt;/provider&amp;gt; &lt;/PRE&gt;&lt;P&gt;Of course you can also use the Ranger authorization plugin and instead of this "AclsAuthz" plugin and define the policy in the Ranger policy UI.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2015 23:40:04 GMT</pubDate>
    <dc:creator>kevin_minder</dc:creator>
    <dc:date>2015-12-18T23:40:04Z</dc:date>
    <item>
      <title>Edit service authorization in Knox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100010#M13036</link>
      <description>&lt;P&gt;I would like to alter who has access to different Knox Services. For example, I can currently access all the services using guest:guest-password or admin:admin-password but would like to change that so only admin can access certain services. I believe it will mean changing something in the default.xml file in the Knox topologies. I have tried adding this parameter to the default.xml, but I can still access HBase as a guest.&lt;/P&gt;&lt;PRE&gt;&amp;lt;param&amp;gt; 
	&amp;lt;name&amp;gt;webhbase.acl&amp;lt;/name&amp;gt; 
	&amp;lt;value&amp;gt;admin&amp;lt;/value&amp;gt;            
&amp;lt;/param&amp;gt;
&lt;/PRE&gt;&lt;P&gt;It's not just HBase I would like to change but custom services too so a more general answer would be very much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 23:22:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100010#M13036</guid>
      <dc:creator>sambass</dc:creator>
      <dc:date>2015-12-18T23:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Edit service authorization in Knox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100011#M13037</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1394/sambass.html" nodeid="1394"&gt;@Sam Bass&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;I believe you need Ranger + Knox &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_Ranger_User_Guide/content/knox_repository.html"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Knox policies &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_Ranger_User_Guide/content/knox_policy.html"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-...&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 23:38:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100011#M13037</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-18T23:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Edit service authorization in Knox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100012#M13038</link>
      <description>&lt;P&gt;You may find Sample 5 in my recent blog here helpful.&lt;/P&gt;&lt;P&gt;&lt;A href="http://kminder.github.io/knox/2015/11/18/knox-with-activedirectory.html"&gt;http://kminder.github.io/knox/2015/11/18/knox-with...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The only quick tip I can give you here without more information is that your authorization provider configuration should probably look like this. 
&lt;/P&gt;&lt;PRE&gt;    &amp;lt;provider&amp;gt;
      &amp;lt;role&amp;gt;authorization&amp;lt;/role&amp;gt;
      &amp;lt;name&amp;gt;AclsAuthz&amp;lt;/name&amp;gt;
      &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;
      &amp;lt;param name="WEBHBASE.acl" value="admin;*;*"/&amp;gt;
    &amp;lt;/provider&amp;gt;&lt;/PRE&gt;&lt;P&gt;For your custom services all you need to do is match the value before the ".acl" with the role of your custom service.  This example may help clarify.
&lt;/P&gt;&lt;PRE&gt;    &amp;lt;provider&amp;gt;
      &amp;lt;role&amp;gt;authorization&amp;lt;/role&amp;gt;
      &amp;lt;name&amp;gt;AclsAuthz&amp;lt;/name&amp;gt;
      &amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;
      &amp;lt;param name="WEBHBASE.acl" value="admin;*;*"/&amp;gt;
      &amp;lt;param name="CUSTOM.acl" value="guest;*;*"/&amp;gt;
    &amp;lt;/provider&amp;gt; &lt;/PRE&gt;&lt;P&gt;Of course you can also use the Ranger authorization plugin and instead of this "AclsAuthz" plugin and define the policy in the Ranger policy UI.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 23:40:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100012#M13038</guid>
      <dc:creator>kevin_minder</dc:creator>
      <dc:date>2015-12-18T23:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Edit service authorization in Knox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100013#M13039</link>
      <description>&lt;P&gt;Additional examples are available in the Apache Knox Users Guide under &lt;A href="http://knox.apache.org/books/knox-0-6-0/user-guide.html#Authorization"&gt;Authorization&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2015 03:25:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100013#M13039</guid>
      <dc:creator>amiller</dc:creator>
      <dc:date>2015-12-19T03:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Edit service authorization in Knox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100014#M13040</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/190/kevinminder.html" nodeid="190"&gt;@Kevin Minder&lt;/A&gt;&lt;P&gt; Thanks, that worked just as I needed it to.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 19:33:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Edit-service-authorization-in-Knox/m-p/100014#M13040</guid>
      <dc:creator>sambass</dc:creator>
      <dc:date>2015-12-21T19:33:30Z</dc:date>
    </item>
  </channel>
</rss>

