Authenticates User to Mongo Db by checking the user in collection of admin database. Here we also create a map of a mongo configuration which is mongo host and mongoPort provided by user to a mongo Instance. This mongo Instance is used for requests made to this database configuration. Also stores a map of active users on a given mongo configuration for closing the mongo instance at time of disconnect.
@author Rachit Mittal
@since 10 July 2011
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.