You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrii Tkach (JIRA)" <ji...@apache.org> on 2015/02/20 12:05:12 UTC

[jira] [Created] (AMBARI-9720) Handle login redirection in case the user hits a view URL and not authenticated

Andrii Tkach created AMBARI-9720:
------------------------------------

             Summary: Handle login redirection in case the user hits a view URL and not authenticated
                 Key: AMBARI-9720
                 URL: https://issues.apache.org/jira/browse/AMBARI-9720
             Project: Ambari
          Issue Type: Task
          Components: ambari-web
    Affects Versions: 2.0.0
            Reporter: Andrii Tkach
            Assignee: Andrii Tkach
            Priority: Critical
             Fix For: 2.0.0


*Flow*
* The user accesses /views/TEZ/0.5.2.2.2.2.0-869/tez/#/tez-app/application_1423719241211_0050
* The user is unauthenticated.  The server sends a redirect to /#/login?targetURI=%2Fviews%2FTEZ%2F0.5.2.2.2.2.0-869%2Ftez%2F%23%2Ftez-app%2Fapplication_1423719241211_0050 (the server performs URI encoding for the target URI)
* The user lands on the Ambari Web login page.  Upon successful login, load (i.e., update document.location.href to) /views/TEZ/0.5.2.2.2.2.0-869/tez/#/tez-app/application_1423719241211_0050 (as specified the "targetURI" but URI decoded); do not embed the view within Ambari Web.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)