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

Saqeeb Shaikh updated ATLAS-853:
--------------------------------
    Attachment: ATLAS-853.1.patch

Fix for improper user name in kerberized setup. Changed the method to getName() 
from getPrincipal(), to obtain the user name from the Security Context.

{code:title=Kerberos curl test |borderStyle=solid}
curl -k -v  --negotiate -u :  
http://mp-atls-495-1.openstacklocal:21000/api/atlas/admin/session

< HTTP/1.1 200 OK
< Date: Wed, 08 Jun 2016 11:50:23 GMT
< Set-Cookie: JSESSIONID=1j5vc9ikrffu18tsza3hepgef;Path=/
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Set-Cookie: 
hadoop.auth="u=atlas&p=atlas/[email protected]&t=kerberos&e=1465422623250&s=m8QVW9W2hGoOuHPmx1qExJbGwBs=";
 Version=1; Path=/; Expires=Wed, 08-Jun-2016 21:50:23 GMT; HttpOnly
< Content-Type: application/json; charset=UTF-8
< Transfer-Encoding: chunked
< Server: Jetty(9.2.12.v20150709)
< 
* Connection #0 to host mp-atls-495-1.openstacklocal left intact
* Closing connection #0

{"userName":"atlas","groups":["hadoop"]}
{code}



> User's name to be mentioned in the top user drop down
> -----------------------------------------------------
>
>                 Key: ATLAS-853
>                 URL: https://issues.apache.org/jira/browse/ATLAS-853
>             Project: Atlas
>          Issue Type: Improvement
>    Affects Versions: 0.7-incubating
>            Reporter: Saqeeb Shaikh
>            Assignee: Saqeeb Shaikh
>              Labels: patch
>             Fix For: 0.7-incubating
>
>         Attachments: ATLAS-853.1.patch, ATLAS-853.patch
>
>




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

Reply via email to