You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nixon Rodrigues (JIRA)" <ji...@apache.org> on 2017/07/03 19:27:05 UTC

[jira] [Commented] (ATLAS-1906) Atlas client should support setting hadoop-jwt token in header

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

Nixon Rodrigues commented on ATLAS-1906:
----------------------------------------


Currently Atlas Client supports UGI & Basic Auth, as part of this jira i have overloaded the Atlas Client constructor to support Knox SSO cookie by adding below constructor.

AtlasClient(atlasURL, cookieName, CookieValue, path, domain);
AtlasClient(atlasURL, Cookie);

Added patch ATLAS-1906.patch for it.

> Atlas client should support setting hadoop-jwt token in header
> --------------------------------------------------------------
>
>                 Key: ATLAS-1906
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1906
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Hemanth Yamijala
>            Assignee: Apoorv Naik
>         Attachments: 0001-ATLAS-1906-Support-for-custom-header-s-in-Atlas-clie.patch, ATLAS-1906.patch
>
>
> In ATLAS-1767, support was added to make the Atlas REST API calls take a hadoop-jwt token coming from Knox SSO and authenticate the user.
> This works perfectly when using a vanilla HTTP client. We have found it convenient to use the Atlas client Java binding for our work. However, it does not seem to support setting the hadoop-jwt token. Hence, we don't seem to be able to use it with a Knox SSO enabled Atlas server for API calls.
> Could this support be added please?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)