Log4j 2
  1. Log4j 2
  2. LOG4J2-358

NoSQLAppender using MongoDB provider ignores username and password attributes

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta7, 2.0-beta8
    • Fix Version/s: 2.0-beta9
    • Component/s: Core
    • Labels:
      None

      Description

      org.apache.logging.log4j.core.appender.db.nosql.mongo.MongoDBProvider#createNoSQLProvider never uses the username and password attributes to authenticate against the MongoDB database. It checks to ensure that the database is either already authenticated or a username and password are provided, but then it never does anything with the username and password.

        Activity

        Hide
        Nick Williams added a comment -

        Fixed in next release. You can also get the latest from trunk and compile locally. Please verify and close. Thanks for reporting it!

        Show
        Nick Williams added a comment - Fixed in next release. You can also get the latest from trunk and compile locally. Please verify and close. Thanks for reporting it!

          People

          • Assignee:
            Nick Williams
            Reporter:
            Nick Williams
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 5m
              5m
              Remaining:
              Remaining Estimate - 5m
              5m
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development