Changes to ENVIRON.INI
For On Prem release, Content Security Policies are enforced for application security. GIS Map Viewer connects to domains other than the WAM Application Domain, like CDN for ArcGIS JavaScript API and ArcGIS Portal / ArcGIS Online Servers. As per CSP restrictions, communication to other domains is blocked. Because of this, GIS Map Viewer will not work. To work with GIS Map Viewer, add the below URLs to the parameters of the ENVIRON.INI file.
Parameter | URL |
---|---|
CSP_CONNECT_SRC | Provide the URLs which have network status as blocked:csp |
CSP_FONT_SRC | https://js.arcgis.com data: Along with the above, provide the URLs which have network status as blocked:csp |
CSP_STYLE_SRC | https://js.arcgis.com data: Along with the above, provide the URLs which have network status as blocked:csp |
CSP_URL_IMG_SRC | https://js.arcgis.com data: Along with the above, provide the URLs which have network status as blocked:csp |
CSP_URL_SCRIPT_SRC | https://js.arcgis.com data: Along with the above, provide the URLs which have network status as blocked:csp |
For additional information, see "Menu Block 55-URL, File and URL Related Options" in the Advanced Menu Options present in Appendix B and also refer to the Server Administration Guide.
Below are the other parameter configurations in the ENVIRON.INI file:
- OWSM-PROTECTION_FOR_REST_SERVICES
- CLOUD_RESTRICTION_URLS_ENABLE
OWSM_PROTECTION_FOR_REST_SERVICES
This parameter should be configured only if Oracle Web Service Manager Protection has to be enabled for REST services.
The default parameter value is set to ‘true’ in the ENVIRON.INI file. Set it to ‘false’ if Oracle Web Service Manager is not configured. Also the WEBSERVICES_ENABLED parameter value should be set to ‘true’.
The ENVIRON.INI file is found in the etc folder of the environment (example: / scratch/<environment name>/etc).
Field | Value |
---|---|
OWSM_PROTECTION_FOR_REST_SERVICES | false |
WEBSERVICES_ENABLED | true |
Important! These parameters should be configured properly to launch the GIS Viewer.
CLOUD_RESTRICTION_URLS_ENABLE
Configure this parameter only if a set of server URLs should be accessed from the Oracle Utilities Work and Asset Management system.
The default parameter value for this parameter is set to ‘false’. If the parameter value is set to ‘true’, the GIS server URLs that are configured in ESRI Maps Master Configuration and ESRI WAM Integration Master Configuration objects should be mentioned in the whitelist xml file configured in the CLOUD_WHITE_LIST_PATH parameter’.