Jump to content

Authentication with MongoDB 2.6.4


kyle.cacciatore

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...