You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ab...@apache.org on 2026/05/25 21:16:51 UTC

(ranger) 02/02: RANGER-5499: fix checkstyle errors

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

kumaab pushed a commit to branch ranger-2.9
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit 53ad8f012d1d868ac650f9895ca5a1ef511325d4
Author: Abhishek Kumar <ab...@apache.org>
AuthorDate: Sun May 24 08:00:18 2026 -0700

    RANGER-5499: fix checkstyle errors
    
    (cherry picked from commit 0289554dd1e81c4b6cb86c78282bb7bd9dd5257e)
---
 .../ranger/security/web/filter/RangerHeaderPreAuthFilter.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/security-admin/src/main/java/org/apache/ranger/security/web/filter/RangerHeaderPreAuthFilter.java b/security-admin/src/main/java/org/apache/ranger/security/web/filter/RangerHeaderPreAuthFilter.java
index 8e87fe30d..920f2ad8a 100644
--- a/security-admin/src/main/java/org/apache/ranger/security/web/filter/RangerHeaderPreAuthFilter.java
+++ b/security-admin/src/main/java/org/apache/ranger/security/web/filter/RangerHeaderPreAuthFilter.java
@@ -62,13 +62,13 @@ public class RangerHeaderPreAuthFilter extends GenericFilterBean {
     @PostConstruct
     protected void initialize() {
         headerAuthEnabled = PropertiesUtil.getBooleanProperty(PROP_HEADER_AUTH_ENABLED, false);
-    
+
         if (headerAuthEnabled) {
             userNameHeaderName = PropertiesUtil.getProperty(PROP_USERNAME_HEADER_NAME);
-    
+
             if (StringUtils.isBlank(userNameHeaderName)) {
                 LOG.warn("Disabling header-based authentication, as configuration {} is not set", PROP_USERNAME_HEADER_NAME);
-    
+
                 headerAuthEnabled = false;
             }
         }