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 2018/07/20 14:50:02 UTC
knox git commit: KNOX-1394 - OOTB gateway-site.xml to Default to Demo
Whitelist Scenario
Repository: knox
Updated Branches:
refs/heads/v1.1.0 95bdaa2a8 -> 9afff79ca
KNOX-1394 - OOTB gateway-site.xml to Default to Demo Whitelist Scenario
Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/9afff79c
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/9afff79c
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/9afff79c
Branch: refs/heads/v1.1.0
Commit: 9afff79ca80e947e127c85a6293354afd7757449
Parents: 95bdaa2
Author: Larry McCay <lm...@apache.org>
Authored: Fri Jul 20 10:49:50 2018 -0400
Committer: Larry McCay <lm...@apache.org>
Committed: Fri Jul 20 10:49:50 2018 -0400
----------------------------------------------------------------------
CHANGES | 1 +
gateway-release/home/conf/gateway-site.xml | 7 +++++++
2 files changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/knox/blob/9afff79c/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index fc6f50c..8843763 100644
--- a/CHANGES
+++ b/CHANGES
@@ -11,6 +11,7 @@ Release Notes - Apache Knox - Version 1.1.0
[KNOX-1040] - Initial changes to support simple descriptors and provider configurations in the Admin UI.
** Improvement
+ [KNOX-1394] - OOTB gateway-site.xml to Default to Demo Whitelist Scenario
[KNOX-1381] - Fix logging
[KNOX-1378] - Declare SSO params using KnoxSSO service option knoxsso.expected.params
[KNOX-1379] - Default dispatch whitelist should not include localhost when the Knox host domain can be determined
http://git-wip-us.apache.org/repos/asf/knox/blob/9afff79c/gateway-release/home/conf/gateway-site.xml
----------------------------------------------------------------------
diff --git a/gateway-release/home/conf/gateway-site.xml b/gateway-release/home/conf/gateway-site.xml
index 1db5332..14ee0a1 100644
--- a/gateway-release/home/conf/gateway-site.xml
+++ b/gateway-release/home/conf/gateway-site.xml
@@ -141,4 +141,11 @@ limitations under the License.
If the value is DEFAULT, a domain-based whitelist will be derived from the Knox host.</description>
</property>
+ <property>
+ <name>gateway.dispatch.whitelist</name>
+ <value>^https?:\/\/(localhost|127\.0\.0\.1|0:0:0:0:0:0:0:1|::1):[0-9].*$</value>
+ <description>The whitelist to be applied for dispatches associated with the service roles specified by gateway.dispatch.whitelist.services.
+ If the value is DEFAULT, a domain-based whitelist will be derived from the Knox host.</description>
+ </property>
+
</configuration>