<?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: Configure HBase WebUI to redirect to Apache Knox in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390903#M247384</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80101"&gt;@shubham_sharma&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you very much for taking the time, I currently run under 2.3.5 and I can' t use this filter, is this ability to redirect to Knox with the AuthenticationFilterInitializer only available since 3.0.0 ?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2024 06:56:29 GMT</pubDate>
    <dc:creator>TMauran</dc:creator>
    <dc:date>2024-07-24T06:56:29Z</dc:date>
    <item>
      <title>Configure HBase WebUI to redirect to Apache Knox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390833#M247354</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am wondering if there is any way to secure HBase with Apache Knox so that if the Knox token is not provided HBase redirects to the Knox SSO page. I managed to do it for HDFS Yarn and Spark using filters but can' t seem to find any way to do that with HBase.&lt;BR /&gt;&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hadoop.http.authentication.type&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;org.apache.hadoop.security.authentication.server.JWTRedirectAuthenticationHandler&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hadoop.http.authentication.authentication.provider.url&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;https://&amp;lt;knox-host&amp;gt;:8443/gateway/knoxsso/api/v1/websso&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hadoop.http.authentication.public.key.pem&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;&amp;lt;Your public token from the .pem file&amp;gt;&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;```&lt;BR /&gt;Here is what I added in core-site.xml to protect HDFS and Yarn.&lt;BR /&gt;&lt;BR /&gt;Thank you for your time&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 07:08:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390833#M247354</guid>
      <dc:creator>TMauran</dc:creator>
      <dc:date>2024-07-23T07:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Configure HBase WebUI to redirect to Apache Knox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390875#M247367</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111968"&gt;@TMauran&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-tag"&gt;Could you please try to use below in hbase-site.xml and check -&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="hljs-tag"&gt;&amp;lt;&lt;SPAN class="hljs-name"&gt;property&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hljs-tag"&gt;&amp;lt;&lt;SPAN class="hljs-name"&gt;name&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;hbase.http.filter.initializers&lt;SPAN class="hljs-tag"&gt;&amp;lt;/&lt;SPAN class="hljs-name"&gt;name&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hljs-tag"&gt;&amp;lt;&lt;SPAN class="hljs-name"&gt;value&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;org.apache.hadoop.security.AuthenticationFilterInitializer&lt;SPAN class="hljs-tag"&gt;&amp;lt;/&lt;SPAN class="hljs-name"&gt;value&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hljs-tag"&gt;&amp;lt;/&lt;SPAN class="hljs-name"&gt;property&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Other properties should be present in core-site.xml as well&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 17:39:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390875#M247367</guid>
      <dc:creator>shubham_sharma</dc:creator>
      <dc:date>2024-07-23T17:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Configure HBase WebUI to redirect to Apache Knox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390903#M247384</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80101"&gt;@shubham_sharma&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you very much for taking the time, I currently run under 2.3.5 and I can' t use this filter, is this ability to redirect to Knox with the AuthenticationFilterInitializer only available since 3.0.0 ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 06:56:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390903#M247384</guid>
      <dc:creator>TMauran</dc:creator>
      <dc:date>2024-07-24T06:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Configure HBase WebUI to redirect to Apache Knox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390910#M247390</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111968"&gt;@TMauran&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hello,&lt;BR /&gt;I am wondering if there is any way to secure HBase with Apache Knox so that if the Knox token is not provided HBase redirects to the Knox SSO page. I managed to do it for HDFS Yarn and Spark using filters but can' t seem to find any way to do that with HBase.&lt;BR /&gt;&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hadoop.http.authentication.type&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;org.apache.hadoop.security.authentication.server.JWTRedirectAuthenticationHandler&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hadoop.http.authentication.authentication.provider.url&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;https://&amp;lt;knox-host&amp;gt;:8443/gateway/knoxsso/api/v1/websso&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hadoop.http.authentication.public.key.pem&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;&amp;lt;Your public token from the .pem file&amp;gt;&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;```&lt;BR /&gt;Here is what I added in core-site.xml to protect HDFS and Yarn.&lt;BR /&gt;&lt;BR /&gt;Thank you for your time&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;To secure HBase with Apache Knox and ensure redirection to the Knox SSO page when the token is missing, configure HBase's HTTP authentication properties using the JWTRedirectAuthenticationHandler. This can be set up similarly to your HDFS, Yarn, and Spark configurations, specifying the authentication type, provider URL, and public key.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 08:14:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390910#M247390</guid>
      <dc:creator>JeffLawson</dc:creator>
      <dc:date>2024-07-24T08:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Configure HBase WebUI to redirect to Apache Knox</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390914#M247391</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112813"&gt;@JeffLawson&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I tried using this JWTRedirectAuthenticationHandler but didn' t had any&amp;nbsp; result, do you know that param name is it in the hbase-site.xml ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 08:47:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-HBase-WebUI-to-redirect-to-Apache-Knox/m-p/390914#M247391</guid>
      <dc:creator>TMauran</dc:creator>
      <dc:date>2024-07-24T08:47:47Z</dc:date>
    </item>
  </channel>
</rss>

