Page created: 22 Jul 2020
|
Page updated: 1 Feb 2021
| 1 min read
8.2 Product PingDirectory Directory Capability Delegated Administration Product documentation Content Type Administration User task Installation IT Operations Audience Software Deployment Method IT Administrator Administrator System Administrator
If you are installing Delegated Admin on an external web server, perform the following steps:
-
Open
config.js
in a text editor. -
Change the variable values to specify the location of
PingDirectory Server, as the
following table shows.
config.js
VariableValue window.DS_HOST
host name of PingDirectory Server window.DS_PORT
HTTPS port of PingDirectory Server To view an example outline that features these settings, refer to example.config.js.
-
Save your changes to
config.js
. -
Open
delegated-admin.dsconfig
in a text editor. -
Comment out the following lines, which are located in the
Configure the delegator web app
section, near the bottom of the file:dsconfig create-web-application-extension --extension-name Delegator --set base-context-path:/delegator --set document-root-directory:webapps/delegator/app dsconfig set-connection-handler-prop --handler-name "HTTPS Connection Handler" --add web-application-extension:Delegator
-
Save your changes to
delegated-admin.dsconfig
. -
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: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"