<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;">Is there a way to make CORSFilter work for webadmin?</div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;">I have tried using the:</div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;"><br></div><div><div>engine-config -l | grep CORS</div><div>engine-config -s CORSSupport=true</div><div>engine-config -s CORSAllowedOrigins=*</div></div><div>service ovirt-engine restart</div><div><br></div><div>A look at:</div><div><br></div><div>engine-config -l | grep CORS</div><div><br></div><div>Looks like support is only for REST API?</div><div>- CORSSupport: "Enables CORS (Cross Origin Resource Sharing) support in RESTAPI.”</div><div><br></div><div>I have also tried adding to /usr/share/ovirt-engine/engine.ear/webadmin.war/WEB-INF/web.xml</div><div><br></div><div><div> <filter></div><div> <filter-name>CORSSupport</filter-name></div><div> <filter-class>org.ovirt.engine.core.utils.servlet.CORSSupportFilter</filter-class></div><div> </filter></div><div><br></div><div> <filter-mapping></div><div> <filter-name>CORSSupport</filter-name></div><div> <url-pattern>/*</url-pattern></div><div> </filter-mapping></div></div><div><br></div><div>But that just ends up in Server Errors <a href="https://pastebin.com/Q1JECzSw">https://pastebin.com/Q1JECzSw</a></div><div><br></div><div><br></div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;">Thanks for any help ;)</div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;">Zip</div></div></body></html>