Supported environments for basic auth

Basic auth is not support for production environments. In this context, a "production environment" is one in which any of the following are true:

  • The server is started in production mode.
  • The server specifies a planet class and the planet class category is either "prod" or "preprod".

Basic auth is supported for development environments only. In this context, a "development environment" is one in which all of the following are true:

  • The server is started in development mode.
  • The server either has no specified planet class or has a planet class category of "lower".

Disable basic auth in development environments

About this task

By default, basic auth is available only for instances of PolicyCenter running in a development environment. However, you can disable basic auth so that it is never available, even in development environments.

Procedure

  1. Navigate to the plugin registry entry for the RestAuthenticationSourceCreatorPlugin plugin.
    • For more information on the plugin registry, see Plugins, Prebuilt Integrations, and SOAP APIs.
  2. Set the basicAuth parameter to allOff.
  3. Restart the server.