Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-358

NoSQLAppender using MongoDB provider ignores username and password attributes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

          Activity

            People

            • Assignee:
              beamerblvd Nick Williams
              Reporter:
              beamerblvd 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