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

NoSQLAppender using MongoDB provider ignores username and password attributes

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0-beta7, 2.0-beta8
    • 2.0-beta9
    • Core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            beamerblvd Nick Williams
            beamerblvd Nick Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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

              Slack

                Issue deployment