This is an automated email from the ASF dual-hosted git repository. pradeep pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ranger.git
commit 9c492199f267a917e1992f19fe07314de526d561 Author: Guru Thejus Arveti <[email protected]> AuthorDate: Fri Nov 8 14:15:46 2024 +0530 RANGER-4981: Log LDAP auth failures at error level in ranger admin Change-Id: Id10c7161f80f020ffdfec58360b190e6c532203b Signed-off-by: Pradeep Agrawal <[email protected]> --- .../ranger/security/handler/RangerAuthenticationProvider.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java b/security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java index e41fe5454..8d3a523ab 100644 --- a/security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java +++ b/security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java @@ -288,7 +288,7 @@ public class RangerAuthenticationProvider implements AuthenticationProvider { return authentication; } } catch (Exception e) { - logger.debug("LDAP Authentication Failed:", e); + logger.error("LDAP Authentication Failed:", e); } return authentication; } @@ -333,7 +333,7 @@ public class RangerAuthenticationProvider implements AuthenticationProvider { return authentication; } }catch (Exception e) { - logger.debug("AD Authentication Failed:", e); + logger.error("AD Authentication Failed:", e); } return authentication; } @@ -523,7 +523,7 @@ public class RangerAuthenticationProvider implements AuthenticationProvider { return authentication; } } catch (Exception e) { - logger.debug("AD Authentication Failed:", e); + logger.error("AD bind Authentication Failed:", e); } return authentication; } @@ -595,7 +595,7 @@ public class RangerAuthenticationProvider implements AuthenticationProvider { return authentication; } } catch (Exception e) { - logger.debug("LDAP Authentication Failed:", e); + logger.error("LDAP bind Authentication Failed:", e); } return authentication; }
