Skip to content

Commit

Permalink
Move the RestProxyFilter to the top of the list
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Apr 11, 2022
1 parent 53e305f commit c10e9ed
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@
<listener>
<listener-class>io.antmedia.filter.TokenSessionFilter</listener-class>
</listener>
<!-- Put RestProxyFilter to the top of the Filter list -->
<filter>
<filter-name>RestProxyFilter</filter-name>
<filter-class>io.antmedia.filter.RestProxyFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>RestProxyFilter</filter-name>
<url-pattern>/rest/v2/broadcasts/*</url-pattern>
</filter-mapping>

<filter>
<filter-name>TokenFilter</filter-name>
Expand Down Expand Up @@ -165,16 +175,6 @@
<url-pattern>/rest/*</url-pattern>
</filter-mapping>

<filter>
<filter-name>RestProxyFilter</filter-name>
<filter-class>io.antmedia.rest.RestProxyFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>RestProxyFilter</filter-name>
<url-pattern>/rest/v2/broadcasts/*</url-pattern>
</filter-mapping>

<filter>
<filter-name>RestAuthenticationFiler</filter-name>
<filter-class>io.antmedia.filter.IPFilter</filter-class>
Expand Down

0 comments on commit c10e9ed

Please sign in to comment.