Authentication with MongoDB 2.6.4

0

Hi,

I'm trying to connect to a mongodb that enforces authentication, and stores authentication information within the admin database. If I specify the database I need to use in the URI when creating a datasource through the Jasper Server (6.2.0) admin console, or via program (Mongodb Java Driver 2.13.2, Jasper Soft 2.0.3 MongoDBConnectionManager), the authentication fails. If I specify the admin database as the default, the authentication works, but obviously the database I need is no longer accessible.

The same credentials work for robomongo and the mongo shell, where I am able to specify both an authorization database and a default database. Has anyone else had this situation?

Thanks,

Kyle

kyle.cacciatore's picture
Joined: Feb 16 2016 - 5:24am
Last seen: 3 years 4 days ago

0 Answers:

No answers yet
Feedback
randomness