You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2019/11/02 05:44:35 UTC

[logging-log4j2] 02/02: Fix issues with authentication with Spring Cloud Config

This is an automated email from the ASF dual-hosted git repository.

rgoers pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 0f1d4b89be1193a9ed7ebff250a99cec057557a1
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Fri Nov 1 22:44:17 2019 -0700

    Fix issues with authentication with Spring Cloud Config
---
 .../java/org/apache/logging/log4j/core/config/ConfigurationFactory.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
index d958929..5ec7456 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java
@@ -174,7 +174,6 @@ public abstract class ConfigurationFactory extends ConfigurationBuilderFactory {
                     // see above comments about double-checked locking
                     //noinspection NonThreadSafeLazyInitialization
                     factories = Collections.unmodifiableList(list);
-                    final String authClass = props.getStringProperty(AUTHORIZATION_PROVIDER);
                     authorizationProvider = authorizationProvider(props);
                 }
             } finally {