ihuzenko commented on a change in pull request #1972: DRILL-7562: Support HTTP 
Basic authentication for REST API calls
URL: https://github.com/apache/drill/pull/1972#discussion_r378318982
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/auth/DrillHttpSecurityHandlerProvider.java
 ##########
 @@ -191,6 +200,7 @@ public boolean isFormEnabled() {
             
AuthStringUtil.asSet(config.getStringList(ExecConstants.HTTP_AUTHENTICATION_MECHANISMS)));
       } else {
         // For backward compatibility
+        configuredMechs.add(Constraint.__BASIC_AUTH);
 
 Review comment:
   Please don't enable basic by default. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to