From 43b8d5ded8d5590243aa7f4337ecb94eeac8b69a Mon Sep 17 00:00:00 2001 From: Ryan Liang Date: Thu, 17 Aug 2023 14:33:22 -0700 Subject: [PATCH] Remove stacktrace debug statement in OBOAutehnticator Signed-off-by: Ryan Liang --- .../org/opensearch/security/http/OnBehalfOfAuthenticator.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java b/src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java index 9ab38a67f2..0d91025601 100644 --- a/src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java +++ b/src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java @@ -221,7 +221,6 @@ private AuthCredentials extractCredentials0(final RestRequest request) { log.error("Cannot authenticate user with JWT because of ", e); return null; } catch (Exception e) { - e.printStackTrace(); if (log.isDebugEnabled()) { log.debug("Invalid or expired JWT token.", e); }