[ 
https://issues.apache.org/jira/browse/DRILL-8540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18038938#comment-18038938
 ] 

ASF GitHub Bot commented on DRILL-8540:
---------------------------------------

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.





> Update Jetty to Version 12
> --------------------------
>
>                 Key: DRILL-8540
>                 URL: https://issues.apache.org/jira/browse/DRILL-8540
>             Project: Apache Drill
>          Issue Type: Task
>          Components: Web Server
>    Affects Versions: 1.22.0
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Major
>             Fix For: 1.23.0
>
>
> Drill was using Jetty version 9.X which was EOL some time ago.  This PR bumps 
> Jetty to version 12.  Jetty 12 is not compatible with with Java 11, so this 
> PR also requires that Drill remove support for Java 11.  At this state, this 
> seems reasonable. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to