From 62cfb4f920857c307b13f7b730c7456ee58a3c55 Mon Sep 17 00:00:00 2001 From: Ryan Liang Date: Wed, 23 Aug 2023 16:29:31 -0700 Subject: [PATCH] Add comment for authentication failure in obo authenticator Signed-off-by: Ryan Liang --- .../org/opensearch/security/http/OnBehalfOfAuthenticator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java b/src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java index 93833c5c36..8e9f29f50a 100644 --- a/src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java +++ b/src/main/java/org/opensearch/security/http/OnBehalfOfAuthenticator.java @@ -198,6 +198,7 @@ private AuthCredentials extractCredentials0(final RestRequest request) { } } + // Return null for the authentication failure return null; }