You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/15 07:31:02 UTC
[jira] [Commented] (DRILL-6088) MainLoginPageModel errors out when
http.auth.mechanisms is not configured
[ https://issues.apache.org/jira/browse/DRILL-6088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325957#comment-16325957 ]
ASF GitHub Bot commented on DRILL-6088:
---------------------------------------
GitHub user sohami opened a pull request:
https://github.com/apache/drill/pull/1092
DRILL-6088: MainLoginPageModel errors out when http.auth.mechanisms i…
…s not configured
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sohami/drill DRILL-6088
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/1092.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1092
----
commit 93bd4d5b3516107157f91b22530639ad7b8ecf8b
Author: Sorabh Hamirwasia <sh...@...>
Date: 2018-01-15T06:25:51Z
DRILL-6088: MainLoginPageModel errors out when http.auth.mechanisms is not configured
----
> MainLoginPageModel errors out when http.auth.mechanisms is 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
> Priority: Major
>
> 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)