Using the Configuration API
The servers in the PingDirectory suite of products provide a Configuration API to use when updating the configuration with LDAP isn’t possible. The API is consistent with the System for Cross-domain Identity Management (SCIM) 2.0 protocol and uses JSON as a text exchange format, so all request headers allow the application/json content type.
|
Unless otherwise specified, the topics in this section apply to PingDirectory, PingDirectoryProxy, and PingDataSync. When a code example refers to the |
The server includes a servlet extension that provides read and write access to the server’s configuration over HTTP.
Steps
-
To add the extension to one of the server’s HTTP Connection Handlers, run the following code.
$ bin/dsconfig set-connection-handler-prop \ --handler-name "HTTPS Connection Handler" \ --add http-servlet-extension:ConfigurationBy default, the extension is enabled for new installations. You can enable the extension for existing deployments.
Result:
The API is made available on the HTTPS Connection Handler’s
<host>:<port>in the/configcontext. Because of the potentially sensitive nature of the server’s configuration, use the HTTPS Connection Handler for hosting the configuration extension.