From 96ec2e674ffe30fa45f551d40240fc0d7a706889 Mon Sep 17 00:00:00 2001 From: tahir Date: Thu, 23 Dec 2021 14:38:51 +0300 Subject: [PATCH 1/2] Enable RestProxyFilter for broadcasts API --- src/main/webapp/WEB-INF/web.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 375ea780..62300375 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -151,6 +151,16 @@ /rest/* + + RestProxyFilter + io.antmedia.rest.RestProxyFilter + true + + + RestProxyFilter + /rest/v2/broadcasts/* + + RestAuthenticationFiler io.antmedia.filter.IPFilter From c10e9edbc385a09130ef47c17ad99f08ab53369e Mon Sep 17 00:00:00 2001 From: mekya Date: Mon, 11 Apr 2022 13:46:03 +0300 Subject: [PATCH 2/2] Move the RestProxyFilter to the top of the list --- src/main/webapp/WEB-INF/web.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 574d3392..16b999e7 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -30,6 +30,16 @@ io.antmedia.filter.TokenSessionFilter + + + RestProxyFilter + io.antmedia.filter.RestProxyFilter + true + + + RestProxyFilter + /rest/v2/broadcasts/* + TokenFilter @@ -165,16 +175,6 @@ /rest/* - - RestProxyFilter - io.antmedia.rest.RestProxyFilter - true - - - RestProxyFilter - /rest/v2/broadcasts/* - - RestAuthenticationFiler io.antmedia.filter.IPFilter