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

nixonrodrigues pushed a commit to branch ATLAS-5409
in repository https://gitbox.apache.org/repos/asf/atlas.git

commit 1cdd9d38012c896157a44a7060a60a1e02b44328
Author: Ramachandran Krishnan <[email protected]>
AuthorDate: Thu Aug 20 08:37:47 2026 +0530

    ATLAS-5385: Use atlas.authentication.method.header.enabled property name
    
    Align enable flag with other atlas.authentication.method.* settings.
---
 distro/src/conf/atlas-application.properties                            | 2 +-
 .../java/org/apache/atlas/web/filters/AtlasHeaderPreAuthFilter.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/distro/src/conf/atlas-application.properties 
b/distro/src/conf/atlas-application.properties
index ea4fc46c4..b9f3a6d0a 100755
--- a/distro/src/conf/atlas-application.properties
+++ b/distro/src/conf/atlas-application.properties
@@ -165,7 +165,7 @@ 
atlas.authentication.method.file.filename=${sys:atlas.home}/conf/users-credentia
 #atlas.authentication.method.ldap.ad.default.role=<default role>
 
 ######### Header Based Authentication #########
-#atlas.authentication.header.enabled=false
+#atlas.authentication.method.header.enabled=false
 #atlas.authentication.method.header.username=username
 #atlas.authentication.method.header.roles=roles
 #atlas.authentication.method.header.request-id=requestid
diff --git 
a/webapp/src/main/java/org/apache/atlas/web/filters/AtlasHeaderPreAuthFilter.java
 
b/webapp/src/main/java/org/apache/atlas/web/filters/AtlasHeaderPreAuthFilter.java
index 0add05e06..71ed15cd7 100644
--- 
a/webapp/src/main/java/org/apache/atlas/web/filters/AtlasHeaderPreAuthFilter.java
+++ 
b/webapp/src/main/java/org/apache/atlas/web/filters/AtlasHeaderPreAuthFilter.java
@@ -52,7 +52,7 @@ import java.util.UUID;
 public class AtlasHeaderPreAuthFilter implements Filter {
     private static final Logger LOG = 
LoggerFactory.getLogger(AtlasHeaderPreAuthFilter.class);
 
-    public static final String PROP_HEADER_AUTH_ENABLED = 
"atlas.authentication.header.enabled";
+    public static final String PROP_HEADER_AUTH_ENABLED = 
"atlas.authentication.method.header.enabled";
     public static final String PROP_USERNAME_HEADER     = 
"atlas.authentication.method.header.username";
     public static final String PROP_ROLES_HEADER        = 
"atlas.authentication.method.header.roles";
     public static final String PROP_REQUEST_ID_HEADER   = 
"atlas.authentication.method.header.request-id";

Reply via email to