Solr Authentication
This topic covers how to handle basic Solr authentication for servers and clients.
CLI Configuration
-
SSH to the instance where Privacera is installed.
-
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
-
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.
-
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. |