You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/05/02 12:53:00 UTC
[jira] [Commented] (LOG4J2-3481) HttpWatcher does not pass credentials when polling
[ https://issues.apache.org/jira/browse/LOG4J2-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530724#comment-17530724 ]
ASF subversion and git services commented on LOG4J2-3481:
---------------------------------------------------------
Commit 73fa864e914e03b54035bd66dc2ffb65ad4e6726 in logging-log4j2's branch refs/heads/master from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=73fa864e91 ]
LOG4J2-3495, LOG4J2-3481, LOG4J2-3482 Add MutableThreadContextMapFilter. Pass Auth provider when creating a connection.
> 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)