Adding authentication support for Replica Sets

XMLWordPrintableJSON

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

      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
              Reporter:
              Vicente Mundim
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: