Commits

Aristarkh Zagorodnikov committed dbef5b1

Added authentication docs
Added acknowledgments

Comments (0)

Files changed (2)

 
 Contributors:
 Stafford Brunk (https://bitbucket.org/wingrunr21)
+Radoslav Hampartsumyan (https://bitbucket.org/rado_h)
 sudo apt-get -y purge make apache2-threaded-dev && sudo apt-get -y --purge autoremove
 
 Configuration:
-GridFSConnection -- Connection string ("host[:port]" for single hosts, "replicaSetName/host[:port],[host[:port], ...]" for replica sets)
-GridFSDatabase <database> -- Set database name
-GridFSCacheMaxAge <maxAge> -- Optional, set cache max age in seconds (default is 1 week, maximum is 10 years), set to 0 to disable expiration caching (see Notes below)
-GridFSConnectTimeout <timeout> -- Optional, set MongoDB connection timeout in seconds (default is 5 seconds)
-GridFSSlaveOk <On|Off> -- Optional, set MongoDB slaveOk mode (horizontal sharding)
+GridFSConnection -- sets connection string ("host[:port]" for single hosts, "replicaSetName/host[:port],[host[:port], ...]" for replica sets)
+GridFSDatabase <database> -- sets database name
+GridFSCacheMaxAge <maxAge> -- optional, sets cache max age in seconds (default is 1 week, maximum is 10 years), set to 0 to disable expiration caching (see Notes below)
+GridFSConnectTimeout <timeout> -- optional, sets MongoDB connection timeout in seconds (default is 5 seconds)
+GridFSSlaveOk <On|Off> -- optional, sets MongoDB slaveOk mode (horizontal sharding)
+GridFSUsername <username> -- optional, sets MongoDB authentication user name
+GridFSPassword <password> -- optional, sets MongoDB authentication password
 
 Configuration example:
 GridFSConnection rsTest/db1,db2
 Credits:
 Written by Aristarkh Zagorodnikov
 Initial context (location) awareness suggestion and implementation by Stafford Brunk (https://bitbucket.org/wingrunr21)
+Authentication support implementation by Radoslav Hampartsumyan (https://bitbucket.org/rado_h)