The server includes a servlet extension that provides read and write access to the server’s configuration over HTTP.
  • 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:Configuration

    By default, the extension is enabled for new installations. You can enable the extension for existing deployments.

    The API is made available on the HTTPS Connection Handler’s host:port in the /config context. Due to the potentially sensitive nature of the server’s configuration, use the HTTPS Connection Handler for hosting the configuration extension.