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 Infrastructure Management NIMSOFT PROBES

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