You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by GitBox <gi...@apache.org> on 2018/11/28 09:02:35 UTC

[GitHub] kasakrisz opened a new pull request #19: AMBARI-24952 - Infra Manager: basic authentication

kasakrisz opened a new pull request #19: AMBARI-24952 - Infra Manager: basic authentication
URL: https://github.com/apache/ambari-infra/pull/19
 
 
   ## What changes were proposed in this pull request?
   
   Use basic authentication when accessing Infra Manager REST API
   
   ## How was this patch tested?
   
   ITs passed
   
   Manually:
   1. Deploy Ambari and a cluster: Zookeeper, Infra Manager
   2. Using postman: GET `http://c7401.ambari.apache.org:61890/api/v1/jobs/info/names`
   3. Response: `Error 401 Unauthorized`
   4. Set Basic auth credentials on the  authorization page
   5. Response: 200 the list of enabled jobs
   
   On a browser `http://c7401.ambari.apache.org:61890/docs`loads the swagger ui page without authentication

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services