cgivre commented on code in PR #3031:
URL: https://github.com/apache/drill/pull/3031#discussion_r2535068001


##########
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/auth/DrillHttpSecurityHandlerProvider.java:
##########
@@ -173,23 +177,23 @@ public void setHandler(Handler handler) {
   }
 
   @Override
-  public void doStop() throws Exception {
+  protected void doStop() throws Exception {
     super.doStop();
     for (DrillHttpConstraintSecurityHandler securityHandler : 
securityHandlers.values()) {
       securityHandler.doStop();
     }
   }
 
   public boolean isSpnegoEnabled() {
-    return securityHandlers.containsKey(Constraint.__SPNEGO_AUTH);
+    return securityHandlers.containsKey("SPNEGO");

Review Comment:
   Fixed.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to