You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Sorabh Hamirwasia (JIRA)" <ji...@apache.org> on 2018/01/15 05:23:03 UTC

[jira] [Created] (DRILL-6088) MainLoginPageModel errors out with http.auth.mechanisms not configured

Sorabh Hamirwasia created DRILL-6088:
----------------------------------------

             Summary: MainLoginPageModel errors out with http.auth.mechanisms not configured
                 Key: DRILL-6088
                 URL: https://issues.apache.org/jira/browse/DRILL-6088
             Project: Apache Drill
          Issue Type: Bug
          Components: Web Server
    Affects Versions: 1.13.0
            Reporter: Sorabh Hamirwasia
            Assignee: Sorabh Hamirwasia


Reported by [~mandoskippy]:

I am probably missing something minor here, but I am working with Ted
 Dunning on some PCAP plugin stuff, so I built his 1.13 SNAPSHOT, and when I
 try to login I see

{
   "errorMessage" : "No configuration setting found for key
 'drill.exec.http.auth'"
 }

 

With DRILL-5425 SPNEGO supports was provided for Drill WebServer. With this check-in a backward compatibility change is missing in [MainLoginPageModel|https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/LogInLogOutResources.java#L151], where in absence of drill.exec.http.auth.mechanisms property it errors out. It should default to Form authentication in this case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)