I would like to check if a user has provided proper credentials as soon as they create a MongoClient or database instance. Is there a way to do this with the Java 3.0 driver? The Java 2.13 driver had an authenticate() method in the DB class that I could use to perform such a function. Can I obtain similar functionality with the latest driver? If not, the user must attempt to perform an operation and, if the credentials are wrong, the operation times out after 30 seconds. This is unacceptable. I want to know immediately after connecting to mongod if the user is properly authenticated or not.
Thank you very much.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/3e051a69-c754-4f46-b1e1-0873d81e4df4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.