[ 
https://issues.apache.org/jira/browse/LOG4J2-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralph Goers updated LOG4J2-3481:
--------------------------------
    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 

  was: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.


> 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
>            Priority: Major
>
> 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 



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

Reply via email to