Configure the conf.wsc file for MongoDB secured authentication - Fluid Topics - 3.7

Install Fluid Topics on a Single Server

Operating system
RHEL
Category
Technical Notes
Audience
public
Version
3.7

Once the secured authentication is enabled on the MongoDB server, update the conf.wsc file:

  1. Edit or create the following file:

    /usr/local/afs7/bo-server/conf/conf.wsc

  2. The following lines show an example of a conf.wsc configuration file properties:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <Conf xmlns="http://www.antidot.net/core/configuration" xmlns:a="http://www.antidot.net/bows/configuration" xmlns:w="http://www.antidot.net/ws/core/configuration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <w:WSModule>
    <w:MaxFileSize>$MAX_FILE_SIZE</w:MaxFileSize>
    <w:AccessLog>
    <w:File format="%a %u [%t] &quot;%m %U %H&quot; %s %D %{User-Agent}i %q %b" name="$ACCESS_LOG_FILENAME">
    </w:File>
    </w:AccessLog>
    </w:WSModule>
    <a:BOWSModule>
    <a:ACConnector>
    <a:host>$AC_HOST></a:host>
    <a:port>$AC_PORT></a:port>
    <a:ACConnector>
    <a:MongoDb>
    <a:seed>
    <a:host>$MONGO_HOST></a:host>
    <a:port>27017</a:port>
    </a:seed>
    <a:connectionString>mongodb://my_user:my_passwd@host1.antidot.net:27017,host2.antidot.net:27017</a:connectionString>
    <a:user>$USER_NAME</a:user>
    <a:password>$PASSWORD</a:password>
    </a:MongoDb>
    <a:AuditLog>
    <a:MongoDb>
    <a:seed>
    <a:host>$MONGO_HOST></a:host>
    <a:port>27017</a:port>
    </a:seed>
    <a:connectionString>mongodb://my_user:my_passwd@host1.antidot.net:27017,host2.antidot.net:27017</a:connectionString>
    <a:user>$USER_NAME</a:user>
    <a:password>$PASSWORD</a:password>
    </a:MongoDb>
    </a:AuditLog>
    </a:BOWSModule>
    </Conf>

If $PASSWORD contains special characters, then it must be encoded in accordance with the following nomenclature: https://www.w3schools.com/tags/ref_urlencode.asp
Example: myUserAdmin2:abc#!!!!@123 should be myUserAdmin2:abc%23%21%21%21%21%40123