External web server
Before you begin
|
The following steps assume that when you ran the |
Steps
-
Open
config.jsin a text editor. -
Change the variable values to specify the location of the PingDirectory server.
config.jsVariable Value window.DS_HOSTHost name of the PingDirectory server
window.DS_PORTHTTPS port of the PingDirectory server
To view an example outline that features these settings, see
example.config.js. -
Save your changes to
config.js. -
Create a CORS policy for the Delegated Admin HTTP servlet extension, where <origin> represents the public name of the host, proxy, or load balancer that presents the Delegated Admin web application.
Example:
dsconfig create-http-servlet-cross-origin-policy --policy-name "Delegated Admin Cross-Origin Policy" --set "cors-allowed-methods: GET" --set "cors-allowed-methods: OPTIONS" --set "cors-allowed-methods: POST" --set "cors-allowed-methods: DELETE" --set "cors-allowed-methods: PATCH" --set "cors-allowed-origins: <origin>" dsconfig set-http-servlet-extension-prop --extension-name "Delegated Admin" --set "cross-origin-policy:Delegated Admin Cross-Origin Policy"
-
(Optional) If you will be enabling administrators to run Delegated Admin reports in your configuration, run
dsconfigwith theset-http-servlet-cross-origin-policy-propoption.Example:
dsconfig set-http-servlet-cross-origin-policy-prop \ --policy-name "Delegated Admin Cross-Origin Policy" \ --set cors-exposed-headers:Content-Disposition