소스 검색

HUE-8750 [core] Update knox dispatch for Ha

Jean-Francois Desjeans Gauthier 6 년 전
부모
커밋
a57ffd4073
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      tools/knox/hue/1.0.0/service.xml

+ 6 - 1
tools/knox/hue/1.0.0/service.xml

@@ -33,5 +33,10 @@
       <rewrite apply="HUE/hue/outbound/huerooturl" to="response.body"/>
     </route>
   </routes>
-  <dispatch classname="org.apache.knox.gateway.dispatch.PassAllHeadersDispatch" />
+  <dispatch classname="org.apache.knox.gateway.dispatch.ConfigurableDispatch" ha-classname="org.apache.knox.gateway.dispatch.ConfigurableDispatch">
+    <param>
+      <name>responseExcludeHeaders</name>
+      <value>WWW-AUTHENTICATE</value>
+    </param>
+  </dispatch>
 </service>