Hi Eugen,

On Fri, 2018-08-10 at 09:24 +0300, Eugen Stan wrote:
> Hello,
> 
> I'm trying to deploy Sling with Mongo back-end with authentication
> and
> non default connection settings.
> 
> [1] https://docs.mongodb.com/manual/tutorial/enable-authentication/
> 
> I've updated the configuration for Sling/Mongo:
> 
> org.apache.sling.nosql.mongodb.resourceprovider.MongoDBNoSqlResourceP
> roviderFactory.factory.config-default.cfg
> 
> provider.roots = [ \
>   "/", \
>   ]
> connectionString="10.20.0.1:27017"
> database="my-sling"
> collection="resources"
> org.apache.karaf.features.configKey =
> "org.apache.sling.nosql.mongodb.resourceprovider.MongoDBNoSqlResource
> ProviderFactory.factory.config-default"

You're configuring the NoSQL MongoDB Resource Provider, which is not
the same as the Oak NodeStore implementation :-)

The connection details for MongoDB are described at 

https://helpx.adobe.com/experience-manager/6-3/sites/deploying/using/data-store-config.html#DocumentNodeStore

Hope this helps,

Robert

Reply via email to