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

apucher pushed a commit to branch exclude-healthcheck-from-auth
in repository https://gitbox.apache.org/repos/asf/pinot.git

commit 72e1ca5ee2b2a005a5189de3c834d9d625123bf4
Author: Alexander Pucher <[email protected]>
AuthorDate: Mon Sep 20 13:43:14 2021 -0700

    exclude healthcheck endpoint from auth
---
 .../org/apache/pinot/controller/api/access/AuthenticationFilter.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pinot-controller/src/main/java/org/apache/pinot/controller/api/access/AuthenticationFilter.java
 
b/pinot-controller/src/main/java/org/apache/pinot/controller/api/access/AuthenticationFilter.java
index 8a9d9fb..35733dc 100644
--- 
a/pinot-controller/src/main/java/org/apache/pinot/controller/api/access/AuthenticationFilter.java
+++ 
b/pinot-controller/src/main/java/org/apache/pinot/controller/api/access/AuthenticationFilter.java
@@ -48,7 +48,7 @@ import org.glassfish.grizzly.http.server.Request;
 @javax.ws.rs.ext.Provider
 public class AuthenticationFilter implements ContainerRequestFilter {
   private static final Set<String> UNPROTECTED_PATHS =
-      new HashSet<>(Arrays.asList("", "help", "auth/info", "auth/verify"));
+      new HashSet<>(Arrays.asList("", "help", "auth/info", "auth/verify", 
"health"));
 
   @Inject
   Provider<Request> _requestProvider;

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to