[
https://issues.apache.org/jira/browse/DRILL-7562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035618#comment-17035618
]
ASF GitHub Bot commented on DRILL-7562:
---------------------------------------
dobesv commented on issue #1972: DRILL-7562: Support HTTP Basic authentication
for REST API calls
URL: https://github.com/apache/drill/pull/1972#issuecomment-585361718
@ihuzenko Actually I hadn't noticed these classes shared a base class, I had
thought they only implemented an interface for some reason. I refactored that
check up into the base class. However, I haven't figured out a way to confirm
that the message is logged correctly. When I mess around with the
configuration I can never actually see that message anywhere. Not that it is
likely to be super important for the message to be correct, if it's not the
stack trace will give all the information anyone needs. But if you know a way
to test that message, let me know.
I also fixed a bug I noticed while I was working on that, and resolved
conflicts.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
> Support HTTP Basic authentication
> ---------------------------------
>
> Key: DRILL-7562
> URL: https://issues.apache.org/jira/browse/DRILL-7562
> Project: Apache Drill
> Issue Type: Improvement
> Components: Web Server
> Affects Versions: 1.17.0
> Reporter: Dobes Vandermeer
> Assignee: Dobes Vandermeer
> Priority: Major
> Fix For: 1.18.0
>
>
> Current it appears that using the REST API requires you to login and get a
> session cookie. This is not ideal for use cases like "redash" where it just
> wants to operate mainly as a stateless client.
> Ideally credentials could simply be provided along with the request.
> Using HTTP Basic authentication would be an OK way to achieve that.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)