Use Booleans in userInfo and rolesInfo in ConnectionValidator.java

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: 1.4.0
    • Component/s: Sink
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ConnectionValidator calls userInfo and rolesInfo, but uses an integer instead of a Boolean for the showPrivileges and showBuiltinRoles arguments, per the MongoDB documentation: 
      https://docs.mongodb.com/manual/reference/command/usersInfo/
      https://docs.mongodb.com/manual/reference/command/rolesInfo/

      We should convert that to use Booleans.

      A pull request can be found here: https://github.com/mongodb/mongo-kafka/pull/55 

              Assignee:
              Ross Lawley
              Reporter:
              Brian Hess
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: