Is there a way to make CORSFilter work for webadmin?
I have tried using the:
engine-config -l | grep CORS
engine-config -s CORSSupport=true
engine-config -s CORSAllowedOrigins=*
service ovirt-engine restart
A look at:
engine-config -l | grep CORS
Looks like support is only for REST API?
- CORSSupport: "Enables CORS (Cross Origin Resource Sharing) support in
RESTAPI.²
I have also tried adding to
/usr/share/ovirt-engine/engine.ear/webadmin.war/WEB-INF/web.xml
<filter>
<filter-name>CORSSupport</filter-name>
<filter-class>org.ovirt.engine.core.utils.servlet.CORSSupportFilter</filter-
class>
</filter>
<filter-mapping>
<filter-name>CORSSupport</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
But that just ends up in Server Errors https://pastebin.com/Q1JECzSw
Thanks for any help ;)
Zip
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users