Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6E3310782 for ; Fri, 16 Jan 2015 18:49:33 +0000 (UTC) Received: (qmail 81649 invoked by uid 500); 16 Jan 2015 18:49:35 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 81615 invoked by uid 500); 16 Jan 2015 18:49:35 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 81598 invoked by uid 99); 16 Jan 2015 18:49:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2015 18:49:35 +0000 Date: Fri, 16 Jan 2015 18:49:35 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-9178) Implement admin principal session expiration handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-9178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280639#comment-14280639 ] Hudson commented on AMBARI-9178: -------------------------------- FAILURE: Integrated in Ambari-trunk-Commit #1517 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1517/]) AMBARI-9178 Implement admin principal session expiration handling. (ababiichuk) (ababiichuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1f257e39d668166a098b51a3d267e31fb36ca2ed) * ambari-web/app/views.js * ambari-web/test/controllers/global/cluster_controller_test.js * ambari-web/app/views/common/modal_popups/invalid_KDC_popup.js * ambari-web/app/controllers/global/cluster_controller.js * ambari-web/app/controllers/main/admin/kerberos/step4_controller.js * ambari-web/app/templates/common/modal_popups/invalid_KDC_popup.hbs * ambari-web/app/routes/add_kerberos_routes.js * ambari-web/app/messages.js * ambari-web/app/utils/ajax/ajax.js > 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 > > Attachments: AMBARI-9178.patch > > > 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)