<!-- CORS for development only -->
<filter>
<filter-name>CorsFilter</filter-name>
<filter-class>com.amalto.core.util.CorsFilter</filter-class>
<init-param>
<param-name>allowed-origin</param-name>
<param-value>YOUR WEB APP URL</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CorsFilter</filter-name>
<url-pattern>/services/rest/*</url-pattern>
</filter-mapping>
In the filter, "YOUR WEB APP URL" indicates the base URL of your web
application as displayed in your web browser, for example,
http://192.168.174.170:3000.
Because MDM REST services require authentication, this URL is mandatory and
cannot use a wildcard (*).