Skip to main content

Privacera Documentation

Enable Solr authentication on Privacera Platform

Solr provides basic authentication for servers and clients.

To enable Solr authentication on Privacera Platform:

  1. SSH to the instance where Privacera is installed.

  2. Run the following commands.

    cd ~/privacera/privacera-manager
    cp config/sample-vars/vars.solr.auth.yml config/custom-vars/
    vi config/custom-vars/vars.solr.auth.yml
    
  3. Modify the following properties: For property details, see Solr configuration properties.

    SOLR_BASIC_AUTH_ENABLED: <PLEASE_CHANGE>
    SOLR_BASIC_AUTH_USER: <PLEASE_CHANGE>
    SOLR_BASIC_AUTH_PASSWORD: <PLEASE_CHANGE>
    

    Note

    You can also add custom properties that are not included by default. See Solr properties on Privacera Platform.

  4. Run the following commands.

    cd ~/privacera/privacera-manager
    ./privacera-manager.sh update
    

Solr configuration properties

Property

Description

SOLR_BASIC_AUTH_ENABLED

Set this property to true to enable the basic authentication.

SOLR_BASIC_AUTH_USER

SOLR_BASIC_AUTH_PASSWORD

Assign the user credentials for the Solr authentication.