You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2015/06/24 19:48:05 UTC

[jira] [Updated] (AMBARI-12131) API to return information regarding the current user who is logged in (for SSO)

     [ https://issues.apache.org/jira/browse/AMBARI-12131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumit Mohanty updated AMBARI-12131:
-----------------------------------
    Attachment: AMBARI-12131.patch

> API to return information regarding the current user who is logged in (for SSO)
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-12131
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12131
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-12131.patch
>
>
> This is a scenario where a gateway sits in front of the ambari server host and provides initial authentication and then forwards the message to the ambari-server. As the gateway has logged the user, the FE needs to know the name of the logged on user.
> From the UI side we cannot read request headers using javascript, we can only read response headers and write to request headers. In this case we cannot get info about what user is currently logged in. 
> BE can send the current user name in response header.



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