ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9720) Handle login redirection in case the user hits a view URL and not authenticated
Date Fri, 20 Feb 2015 14:40:12 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-9720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328985#comment-14328985
] 

Hudson commented on AMBARI-9720:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1820 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1820/])
AMBARI-9720 Handle login redirection in case the user hits a view URL and not authenticated.
(atkach) (atkach: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=afc6a9dc1426a015da7bf8bfc4a2d09bae8eb337)
* ambari-web/app/router.js


> 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
>
>         Attachments: AMBARI-9720.patch
>
>
> *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)

Mime
View raw message