Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-783

Adding authentication support for Replica Sets

    • Type: Icon: Task Task
    • Resolution: Done
    • 2.0.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      MongoDB 1.8 added support for Replica Sets authentication, but Mongoid does not authenticates connections yet. I've added this support, and also added logging which wasn't being used when working with Replica Sets.

      If username/password are not specified in mongoid.yml then it won't authenticate, keeping old behavior. If you set username/password it uses that.

      Also works when reconnecting after a replica crashes.

            Assignee:
            Unassigned Unassigned
            Reporter:
            vicentemundim Vicente Mundim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: