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

Velmurugan Periasamy commented on RANGER-1123:
----------------------------------------------

Patch committed in master - 
https://git-wip-us.apache.org/repos/asf?p=incubator-ranger.git;a=commit;h=5a18b906b701054d8cbb0acbd5d55af27a0573fc

> keyadmin user is not able to make getservice call using rest api 
> service/public/v2/api/service/name
> ---------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1123
>                 URL: https://issues.apache.org/jira/browse/RANGER-1123
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 0.6.0
>            Reporter: Deepak Sharma
>            Assignee: Ankita Sinha
>            Priority: Critical
>             Fix For: 0.7.0
>
>         Attachments: RANGER-1123.patch
>
>
> keyadmin user is not able to make getservice call using rest api 
> service/public/v2/api/service/name ERROR 404 is thrown,
> but same is possible through admin user
> call using keyadmin user :
> {code}
> HTTP/1.1 404 Not Found
> Server: Apache-Coyote/1.1
> Set-Cookie: RANGERADMINSESSIONID=1CC76B75F93C35838BCE62BBBDD44B87; Path=/; 
> HttpOnly
> WWW-Authenticate: Negotiate
> Set-Cookie: hadoop.auth=; Path=/; Domain=xa-atl-jul25-3.openstacklocal; 
> Expires=Thu, 01-Jan-1970 00:00:00 GMT; HttpOnly
> X-Frame-Options: DENY
> Content-Length: 0
> Date: Mon, 25 Jul 2016 20:53:43 GMT
> {code}
> call using admin user:
> {code}
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Set-Cookie: RANGERADMINSESSIONID=E7BCD8AA0965A4C40C167B0972C08B33; Path=/; 
> HttpOnly
> WWW-Authenticate: Negotiate
> Set-Cookie: hadoop.auth=; Path=/; Domain=xa-atl-jul25-3.openstacklocal; 
> Expires=Thu, 01-Jan-1970 00:00:00 GMT; HttpOnly
> X-Frame-Options: DENY
> Content-Type: application/json
> Transfer-Encoding: chunked
> Date: Mon, 25 Jul 2016 20:54:04 GMT
> {code}



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

Reply via email to