You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2022/04/20 14:33:00 UTC

[jira] [Created] (LOG4J2-3481) HttpWatcher does not pass credentials when polling

Ralph Goers created LOG4J2-3481:
-----------------------------------

             Summary: HttpWatcher does not pass credentials when polling
                 Key: LOG4J2-3481
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3481
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.17.2
            Reporter: Ralph Goers
            Assignee: Ralph Goers


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.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)