How to enable Cross-Origin Resource Sharing (CORS) Filter Settings in Unified Infrastructure Management (UIM) Webservices rest probe
search cancel

How to enable Cross-Origin Resource Sharing (CORS) Filter Settings in Unified Infrastructure Management (UIM) Webservices rest probe

book

Article ID: 129817

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

  • CORS Filter is the first universal solution for fitting Cross-Origin Resource Sharing (CORS) support to Java web applications.
  • CORS is a recent W3C effort to introduce a standard mechanism for enabling cross-domain requests from web browsers to servers that wish to handle them.
  • Currently the webservices_rest probe does not have the CORS filter added.


Environment

UIM 9.02
webservices_rest probe 9.02

Resolution

Whilst the webservices_rest can support CORS it is not possible to manually modify the web.xml to add this as it is packed with the webservices_rest.war

Engineering has created a test patch that adds CORS to the webservices_rest probe
see DE409698

Additional Information

How to enable CORS on Tomcat for WASP (uimapi)
https://knowledge.broadcom.com/external/article?articleId=187756