-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29966/
-----------------------------------------------------------

Review request for Ambari and Aleksandr Kovalenko.


Bugs: AMBARI-9178
    https://issues.apache.org/jira/browse/AMBARI-9178


Repository: ambari


Description
-------

Whenever any API call fails with status 400 and message string that starts with 
java.lang.IllegalArgumentException: Missing KDC administrator credentials. or 
java.lang.IllegalArgumentException: Invalid KDC administrator credentials., 
present the user with a popup (that has save button) asking for admin principal 
and admin password. Once user enters principal and password and hits on save 
button, dismiss the popup and execute the API call to save it as session 
attribute (similar to createKerberosAdminSession function). Once this session 
call succeeds then again trigger the original API call that gave the exception.
The authorization failure that can happen on any API call


Diffs
-----

  ambari-web/app/controllers/global/cluster_controller.js 
0227f39568862e8b79df50e2080a93fcef05a362 
  ambari-web/app/controllers/main/admin/kerberos/step4_controller.js 
79707ddd39fee1b139ec44898510629ead9e2466 
  ambari-web/app/messages.js 31b164ffb1fa8710eafa785b62009bfa82e0849f 
  ambari-web/app/routes/add_kerberos_routes.js 
11962afec1f6387d4e53193af6f266dfea1e5d27 
  ambari-web/app/templates/common/modal_popups/invalid_KDC_popup.hbs 
PRE-CREATION 
  ambari-web/app/utils/ajax/ajax.js 9e459d2072a6631071bc7f26ef24d186d19d5396 
  ambari-web/app/views.js 1991b06c8475a02adf73ddd7c760c3e544df6ef7 
  ambari-web/app/views/common/modal_popups/invalid_KDC_popup.js PRE-CREATION 
  ambari-web/test/controllers/global/cluster_controller_test.js 
11303702d89b78c7f87f191848490b1350d8ad87 

Diff: https://reviews.apache.org/r/29966/diff/


Testing
-------

  5222 tests complete (7 seconds)
  61 tests pending


Thanks,

Andriy Babiichuk

Reply via email to