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

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

dobesv commented on issue #1977: DRILL-7573: Support htpasswd based 
authentication
URL: https://github.com/apache/drill/pull/1977#issuecomment-584926786
 
 
   @paul-rogers 
   
   I added some tests and cleaned up the logic slightly.
   
   I didn't add tests for the REST API, since the password logic is shared 
between both systems I don't think this requires separate testing.
   
   I couldn't figure out a sane way to test the stuff related to the default 
path and I didn't do anything related to loading the file from the classpath. I 
think that might be more than I am capable of with the time budget I have for 
this task right now.  I don't think the "default path" is particularly import 
nor is it particularly prone to regressions.
   
   I didn't attempt tests related to logging, it just doesn't seem worth it.  
I'm not so familiar with the project that I can make a test like that in a 
reasonable amount of time.  Perhaps someone core to the team can add that if it 
seems important.
   
   
 
----------------------------------------------------------------
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 text file for user authentication instead of using PAM
> --------------------------------------------------------------
>
>                 Key: DRILL-7573
>                 URL: https://issues.apache.org/jira/browse/DRILL-7573
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components:  Server, Web Server
>    Affects Versions: 1.17.0
>            Reporter: Dobes Vandermeer
>            Priority: Major
>
> Currently plain login using PAM as its user database.  However, in a 
> containerized or server environment the passwd file is generally kept static, 
> so some other mechanism for managing users is preferred.  Also, pam does not 
> by default come with an easy to way to check passwords other than via the 
> passwd/shadow files.
>  It would be great if there was another authentication method included in 
> drill that was easier to use in a containerized environment.
> Reading the usernames and password from a specific file would probably be the 
> simplest mechanism.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to