Andrii Babiichuk created AMBARI-9178:
----------------------------------------
Summary: Implement admin principal session expiration handling
Key: AMBARI-9178
URL: https://issues.apache.org/jira/browse/AMBARI-9178
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: 2.0.0
Reporter: Andrii Babiichuk
Assignee: Andrii Babiichuk
Fix For: 2.0.0
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)