You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2022/02/23 01:53:15 UTC
[GitHub] [helix] NealSun96 commented on a change in pull request #1967: Add Authorization Components to helix-rest
NealSun96 commented on a change in pull request #1967:
URL: https://github.com/apache/helix/pull/1967#discussion_r812503219
##########
File path: helix-rest/src/main/java/org/apache/helix/rest/server/authValidator/DefaultAuthValidator.java
##########
@@ -0,0 +1,10 @@
+package org.apache.helix.rest.server.authValidator;
+
+import javax.ws.rs.container.ContainerRequestContext;
+
+
+public class DefaultAuthValidator implements AuthValidator {
+ public boolean validate(ContainerRequestContext request) {
+ return true;
+ }
+}
Review comment:
This is the default validator for open-source users that don't want to implement validators - the default behavior is no security.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org