Skip to main content

Privacera Platform

Solr authentication

:

This topic covers how to handle basic Solr authentication for servers and clients.

CLI configuration
  1. SSH to the instance where Privacera is installed.

  2. Run the following commands.

    cd ~/privacera/privacera-manager
    cp config/sample-vars/vars.solr.yml config/custom-vars/
    vi config/custom-vars/vars.solr.yml
    
  3. Modify the properties below. For property details and description, refer to the Configuration Properties below.

    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.

  4. Run the following commands.

    cd ~/privacera/privacera-manager
    ./privacera-manager.sh update
    
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.