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

HttpWatcher does not pass credentials when polling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.17.2
    • 2.18.0
    • Core
    • None

    Description

      When a configuration is retrieved via HTTP the ConfigurationSource determines the AuthorizationProvider to use and does not save it. However, when the HttpWatcher runs it retrieves the AuthorizationProvider from a static variable in ConfigurationFactory that has not been initialized, so polling requests return with a 401.

      Note that when Spring events are raised 

      Attachments

        Activity

          People

            rgoers Ralph Goers
            rgoers Ralph Goers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: