Once the secured authentication is enabled on the MongoDB server, update the conf.wsc file on the Indexing server, on the Back Office Server, and on the Front server:
- Edit or create the following file:
/usr/local/afs7/bo-server/conf/conf.wsc
- It must look as follows:
<?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$
<w:WSModule>
...
</w:WSModule>
<a:BOWSModule>
<a:MongoDb>
...
<a:user>$USER_NAME</a:user>
<a:password>$PASSWORD</a:password>
</a:MongoDb>
<a:AuditLog>
<a:MongoDb>
...
<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