Clients use authenticate to authenticate a
connection. When using the shell, use the db.auth()
helper as follows:
db.auth( "username", "password" )
db.auth() and Security Concepts
for more information.
Copyright © 2011-2014 MongoDB, Inc. Licensed under Creative Commons. MongoDB, Mongo, and the leaf logo are registered trademarks of MongoDB, Inc.