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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to