Authentication with MongoDB 2.6.4

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

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: 5 years 11 months ago

0 Answers:

No answers yet
Feedback
randomness