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

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

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


##########
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/auth/FormSecurityHandler.java:
##########
@@ -22,12 +22,11 @@
 import org.apache.drill.exec.server.DrillbitContext;
 import org.apache.drill.exec.server.rest.WebServerConstants;
 import org.eclipse.jetty.security.authentication.FormAuthenticator;
-import org.eclipse.jetty.util.security.Constraint;
 
 public class FormSecurityHandler extends DrillHttpConstraintSecurityHandler {
   @Override
   public String getImplName() {
-    return Constraint.__FORM_AUTH;
+    return "FORM";

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